home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1993 / Internet Info CD-ROM (Walnut Creek) (1993).iso / inet / doc / bind_operators.guide.shar < prev    next >
SHell self-extracting ARchive  |  1992-02-14  |  167.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: bind_operators.guide.shar

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert SHell self-extracting ARchive (archive/shar) ext Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% TrID Xilinx User Constraints File default (weak)
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|00000010| 6c 20 61 72 63 68 69 76 | 65 2e 20 20 53 61 76 65 |l archiv|e. Save|
|00000020| 20 69 74 20 69 6e 20 61 | 20 66 69 6c 65 2c 20 72 | it in a| file, r|
|00000030| 65 6d 6f 76 65 20 61 6e | 79 74 68 69 6e 67 20 62 |emove an|ything b|
|00000040| 65 66 6f 72 65 0a 23 20 | 74 68 69 73 20 6c 69 6e |efore.# |this lin|
|00000050| 65 2c 20 61 6e 64 20 74 | 68 65 6e 20 75 6e 70 61 |e, and t|hen unpa|
|00000060| 63 6b 20 69 74 20 62 79 | 20 65 6e 74 65 72 69 6e |ck it by| enterin|
|00000070| 67 20 22 73 68 20 66 69 | 6c 65 22 2e 20 20 4e 6f |g "sh fi|le". No|
|00000080| 74 65 2c 20 69 74 20 6d | 61 79 0a 23 20 63 72 65 |te, it m|ay.# cre|
|00000090| 61 74 65 20 64 69 72 65 | 63 74 6f 72 69 65 73 3b |ate dire|ctories;|
|000000a0| 20 66 69 6c 65 73 20 61 | 6e 64 20 64 69 72 65 63 | files a|nd direc|
|000000b0| 74 6f 72 69 65 73 20 77 | 69 6c 6c 20 62 65 20 6f |tories w|ill be o|
|000000c0| 77 6e 65 64 20 62 79 20 | 79 6f 75 20 61 6e 64 0a |wned by |you and.|
|000000d0| 23 20 68 61 76 65 20 64 | 65 66 61 75 6c 74 20 70 |# have d|efault p|
|000000e0| 65 72 6d 69 73 73 69 6f | 6e 73 2e 0a 23 0a 23 20 |ermissio|ns..#.# |
|000000f0| 54 68 69 73 20 61 72 63 | 68 69 76 65 20 63 6f 6e |This arc|hive con|
|00000100| 74 61 69 6e 73 3a 0a 23 | 0a 23 09 6d 61 6e 0a 23 |tains:.#|.#.man.#|
|00000110| 09 6d 61 6e 2f 67 65 74 | 68 6f 73 74 62 79 6e 61 |.man/get|hostbyna|
|00000120| 6d 65 2e 33 0a 23 09 6d | 61 6e 2f 72 65 73 6f 6c |me.3.#.m|an/resol|
|00000130| 76 65 72 2e 35 0a 23 09 | 6d 61 6e 2f 6e 61 6d 65 |ver.5.#.|man/name|
|00000140| 64 2e 38 0a 23 09 6d 61 | 6e 2f 68 6f 73 74 6e 61 |d.8.#.ma|n/hostna|
|00000150| 6d 65 2e 37 0a 23 09 6d | 61 6e 2f 6d 61 69 6c 61 |me.7.#.m|an/maila|
|00000160| 64 64 72 2e 37 0a 23 09 | 6d 61 6e 2f 72 65 73 6f |ddr.7.#.|man/reso|
|00000170| 6c 76 65 72 2e 33 0a 23 | 09 6d 61 6e 2f 6e 73 6c |lver.3.#|.man/nsl|
|00000180| 6f 6f 6b 75 70 2e 31 0a | 23 09 6d 61 6e 2f 73 74 |ookup.1.|#.man/st|
|00000190| 72 69 6e 67 2e 33 0a 23 | 09 6d 61 6e 2f 6d 6b 64 |ring.3.#|.man/mkd|
|000001a0| 65 70 2e 31 0a 23 09 64 | 6f 63 2f 42 4f 47 0a 23 |ep.1.#.d|oc/BOG.#|
|000001b0| 09 64 6f 63 2f 42 4f 47 | 2f 30 30 6d 61 63 73 2e |.doc/BOG|/00macs.|
|000001c0| 6d 65 0a 23 09 64 6f 63 | 2f 42 4f 47 2f 30 30 74 |me.#.doc|/BOG/00t|
|000001d0| 69 74 6c 65 2e 6d 65 0a | 23 09 64 6f 63 2f 42 4f |itle.me.|#.doc/BO|
|000001e0| 47 2f 4d 61 6b 65 66 69 | 6c 65 0a 23 09 64 6f 63 |G/Makefi|le.#.doc|
|000001f0| 2f 42 4f 47 2f 62 75 69 | 6c 64 2e 6d 65 0a 23 09 |/BOG/bui|ld.me.#.|
|00000200| 64 6f 63 2f 42 4f 47 2f | 66 69 6c 65 73 2e 6d 65 |doc/BOG/|files.me|
|00000210| 0a 23 09 64 6f 63 2f 42 | 4f 47 2f 69 6e 74 72 6f |.#.doc/B|OG/intro|
|00000220| 2e 6d 65 0a 23 09 64 6f | 63 2f 42 4f 47 2f 6d 61 |.me.#.do|c/BOG/ma|
|00000230| 6e 61 67 65 2e 6d 65 0a | 23 09 64 6f 63 2f 42 4f |nage.me.|#.doc/BO|
|00000240| 47 2f 6e 61 6d 65 64 2e | 62 6f 6f 74 2e 63 61 63 |G/named.|boot.cac|
|00000250| 68 65 0a 23 09 64 6f 63 | 2f 42 4f 47 2f 6e 61 6d |he.#.doc|/BOG/nam|
|00000260| 65 64 2e 62 6f 6f 74 2e | 70 72 69 6d 61 72 79 0a |ed.boot.|primary.|
|00000270| 23 09 64 6f 63 2f 42 4f | 47 2f 6e 61 6d 65 64 2e |#.doc/BO|G/named.|
|00000280| 62 6f 6f 74 2e 73 65 63 | 6f 6e 64 61 72 79 0a 23 |boot.sec|ondary.#|
|00000290| 09 64 6f 63 2f 42 4f 47 | 2f 6e 61 6d 65 64 2e 6c |.doc/BOG|/named.l|
|000002a0| 6f 63 61 6c 0a 23 09 64 | 6f 63 2f 42 4f 47 2f 72 |ocal.#.d|oc/BOG/r|
|000002b0| 65 73 6f 6c 76 2e 63 6f | 6e 66 0a 23 09 64 6f 63 |esolv.co|nf.#.doc|
|000002c0| 2f 42 4f 47 2f 72 6f 6f | 74 2e 63 61 63 68 65 0a |/BOG/roo|t.cache.|
|000002d0| 23 09 64 6f 63 2f 42 4f | 47 2f 74 79 70 65 73 2e |#.doc/BO|G/types.|
|000002e0| 6d 65 0a 23 09 64 6f 63 | 2f 42 4f 47 2f 75 63 62 |me.#.doc|/BOG/ucb|
|000002f0| 68 6f 73 74 73 0a 23 09 | 64 6f 63 2f 42 4f 47 2f |hosts.#.|doc/BOG/|
|00000300| 75 63 62 68 6f 73 74 73 | 2e 72 65 76 0a 23 09 64 |ucbhosts|.rev.#.d|
|00000310| 6f 63 2f 42 4f 47 2f 73 | 65 74 75 70 2e 6d 65 0a |oc/BOG/s|etup.me.|
|00000320| 23 09 64 6f 63 2f 42 4f | 47 2f 66 69 6c 65 0a 23 |#.doc/BO|G/file.#|
|00000330| 0a 65 63 68 6f 20 63 20 | 2d 20 6d 61 6e 0a 6d 6b |.echo c |- man.mk|
|00000340| 64 69 72 20 6d 61 6e 20 | 3e 20 2f 64 65 76 2f 6e |dir man |> /dev/n|
|00000350| 75 6c 6c 20 32 3e 26 31 | 0a 65 63 68 6f 20 78 20 |ull 2>&1|.echo x |
|00000360| 2d 20 6d 61 6e 2f 67 65 | 74 68 6f 73 74 62 79 6e |- man/ge|thostbyn|
|00000370| 61 6d 65 2e 33 0a 73 65 | 64 20 27 73 2f 5e 58 2f |ame.3.se|d 's/^X/|
|00000380| 2f 27 20 3e 6d 61 6e 2f | 67 65 74 68 6f 73 74 62 |/' >man/|gethostb|
|00000390| 79 6e 61 6d 65 2e 33 20 | 3c 3c 20 27 45 4e 44 2d |yname.3 |<< 'END-|
|000003a0| 6f 66 2d 6d 61 6e 2f 67 | 65 74 68 6f 73 74 62 79 |of-man/g|ethostby|
|000003b0| 6e 61 6d 65 2e 33 27 0a | 58 2e 5c 22 20 43 6f 70 |name.3'.|X.\" Cop|
|000003c0| 79 72 69 67 68 74 20 28 | 63 29 20 31 39 38 33 2c |yright (|c) 1983,|
|000003d0| 20 31 39 38 37 20 54 68 | 65 20 52 65 67 65 6e 74 | 1987 Th|e Regent|
|000003e0| 73 20 6f 66 20 74 68 65 | 20 55 6e 69 76 65 72 73 |s of the| Univers|
|000003f0| 69 74 79 20 6f 66 20 43 | 61 6c 69 66 6f 72 6e 69 |ity of C|aliforni|
|00000400| 61 2e 0a 58 2e 5c 22 20 | 41 6c 6c 20 72 69 67 68 |a..X.\" |All righ|
|00000410| 74 73 20 72 65 73 65 72 | 76 65 64 2e 0a 58 2e 5c |ts reser|ved..X.\|
|00000420| 22 0a 58 2e 5c 22 20 52 | 65 64 69 73 74 72 69 62 |".X.\" R|edistrib|
|00000430| 75 74 69 6f 6e 20 61 6e | 64 20 75 73 65 20 69 6e |ution an|d use in|
|00000440| 20 73 6f 75 72 63 65 20 | 61 6e 64 20 62 69 6e 61 | source |and bina|
|00000450| 72 79 20 66 6f 72 6d 73 | 20 61 72 65 20 70 65 72 |ry forms| are per|
|00000460| 6d 69 74 74 65 64 0a 58 | 2e 5c 22 20 70 72 6f 76 |mitted.X|.\" prov|
|00000470| 69 64 65 64 20 74 68 61 | 74 20 74 68 65 20 61 62 |ided tha|t the ab|
|00000480| 6f 76 65 20 63 6f 70 79 | 72 69 67 68 74 20 6e 6f |ove copy|right no|
|00000490| 74 69 63 65 20 61 6e 64 | 20 74 68 69 73 20 70 61 |tice and| this pa|
|000004a0| 72 61 67 72 61 70 68 20 | 61 72 65 0a 58 2e 5c 22 |ragraph |are.X.\"|
|000004b0| 20 64 75 70 6c 69 63 61 | 74 65 64 20 69 6e 20 61 | duplica|ted in a|
|000004c0| 6c 6c 20 73 75 63 68 20 | 66 6f 72 6d 73 20 61 6e |ll such |forms an|
|000004d0| 64 20 74 68 61 74 20 61 | 6e 79 20 64 6f 63 75 6d |d that a|ny docum|
|000004e0| 65 6e 74 61 74 69 6f 6e | 2c 0a 58 2e 5c 22 20 61 |entation|,.X.\" a|
|000004f0| 64 76 65 72 74 69 73 69 | 6e 67 20 6d 61 74 65 72 |dvertisi|ng mater|
|00000500| 69 61 6c 73 2c 20 61 6e | 64 20 6f 74 68 65 72 20 |ials, an|d other |
|00000510| 6d 61 74 65 72 69 61 6c | 73 20 72 65 6c 61 74 65 |material|s relate|
|00000520| 64 20 74 6f 20 73 75 63 | 68 0a 58 2e 5c 22 20 64 |d to suc|h.X.\" d|
|00000530| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 6e 64 20 |istribut|ion and |
|00000540| 75 73 65 20 61 63 6b 6e | 6f 77 6c 65 64 67 65 20 |use ackn|owledge |
|00000550| 74 68 61 74 20 74 68 65 | 20 73 6f 66 74 77 61 72 |that the| softwar|
|00000560| 65 20 77 61 73 20 64 65 | 76 65 6c 6f 70 65 64 0a |e was de|veloped.|
|00000570| 58 2e 5c 22 20 62 79 20 | 74 68 65 20 55 6e 69 76 |X.\" by |the Univ|
|00000580| 65 72 73 69 74 79 20 6f | 66 20 43 61 6c 69 66 6f |ersity o|f Califo|
|00000590| 72 6e 69 61 2c 20 42 65 | 72 6b 65 6c 65 79 2e 20 |rnia, Be|rkeley. |
|000005a0| 20 54 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | The nam|e of the|
|000005b0| 0a 58 2e 5c 22 20 55 6e | 69 76 65 72 73 69 74 79 |.X.\" Un|iversity|
|000005c0| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 75 73 65 64 | may not| be used|
|000005d0| 20 74 6f 20 65 6e 64 6f | 72 73 65 20 6f 72 20 70 | to endo|rse or p|
|000005e0| 72 6f 6d 6f 74 65 20 70 | 72 6f 64 75 63 74 73 20 |romote p|roducts |
|000005f0| 64 65 72 69 76 65 64 0a | 58 2e 5c 22 20 66 72 6f |derived.|X.\" fro|
|00000600| 6d 20 74 68 69 73 20 73 | 6f 66 74 77 61 72 65 20 |m this s|oftware |
|00000610| 77 69 74 68 6f 75 74 20 | 73 70 65 63 69 66 69 63 |without |specific|
|00000620| 20 70 72 69 6f 72 20 77 | 72 69 74 74 65 6e 20 70 | prior w|ritten p|
|00000630| 65 72 6d 69 73 73 69 6f | 6e 2e 0a 58 2e 5c 22 20 |ermissio|n..X.\" |
|00000640| 54 48 49 53 20 53 4f 46 | 54 57 41 52 45 20 49 53 |THIS SOF|TWARE IS|
|00000650| 20 50 52 4f 56 49 44 45 | 44 20 60 60 41 53 20 49 | PROVIDE|D ``AS I|
|00000660| 53 27 27 20 41 4e 44 20 | 57 49 54 48 4f 55 54 20 |S'' AND |WITHOUT |
|00000670| 41 4e 59 20 45 58 50 52 | 45 53 53 20 4f 52 0a 58 |ANY EXPR|ESS OR.X|
|00000680| 2e 5c 22 20 49 4d 50 4c | 49 45 44 20 57 41 52 52 |.\" IMPL|IED WARR|
|00000690| 41 4e 54 49 45 53 2c 20 | 49 4e 43 4c 55 44 49 4e |ANTIES, |INCLUDIN|
|000006a0| 47 2c 20 57 49 54 48 4f | 55 54 20 4c 49 4d 49 54 |G, WITHO|UT LIMIT|
|000006b0| 41 54 49 4f 4e 2c 20 54 | 48 45 20 49 4d 50 4c 49 |ATION, T|HE IMPLI|
|000006c0| 45 44 0a 58 2e 5c 22 20 | 57 41 52 52 41 4e 54 49 |ED.X.\" |WARRANTI|
|000006d0| 45 53 20 4f 46 20 4d 45 | 52 43 48 41 4e 54 41 42 |ES OF ME|RCHANTAB|
|000006e0| 49 4c 49 54 59 20 41 4e | 44 20 46 49 54 4e 45 53 |ILITY AN|D FITNES|
|000006f0| 53 20 46 4f 52 20 41 20 | 50 41 52 54 49 43 55 4c |S FOR A |PARTICUL|
|00000700| 41 52 20 50 55 52 50 4f | 53 45 2e 0a 58 2e 5c 22 |AR PURPO|SE..X.\"|
|00000710| 0a 58 2e 5c 22 09 40 28 | 23 29 67 65 74 68 6f 73 |.X.\".@(|#)gethos|
|00000720| 74 62 79 6e 61 6d 65 2e | 33 09 36 2e 31 31 20 28 |tbyname.|3.6.11 (|
|00000730| 42 65 72 6b 65 6c 65 79 | 29 20 32 2f 31 34 2f 38 |Berkeley|) 2/14/8|
|00000740| 39 0a 58 2e 5c 22 0a 58 | 2e 54 48 20 47 45 54 48 |9.X.\".X|.TH GETH|
|00000750| 4f 53 54 42 59 4e 41 4d | 45 20 33 20 22 46 65 62 |OSTBYNAM|E 3 "Feb|
|00000760| 72 75 61 72 79 20 31 34 | 2c 20 31 39 38 39 22 0a |ruary 14|, 1989".|
|00000770| 58 2e 55 43 20 35 0a 58 | 2e 53 48 20 4e 41 4d 45 |X.UC 5.X|.SH NAME|
|00000780| 0a 58 67 65 74 68 6f 73 | 74 62 79 6e 61 6d 65 2c |.Xgethos|tbyname,|
|00000790| 20 67 65 74 68 6f 73 74 | 62 79 61 64 64 72 2c 20 | gethost|byaddr, |
|000007a0| 67 65 74 68 6f 73 74 65 | 6e 74 2c 20 73 65 74 68 |gethoste|nt, seth|
|000007b0| 6f 73 74 65 6e 74 2c 20 | 65 6e 64 68 6f 73 74 65 |ostent, |endhoste|
|000007c0| 6e 74 2c 20 68 65 72 72 | 6f 72 20 5c 2d 20 67 65 |nt, herr|or \- ge|
|000007d0| 74 20 6e 65 74 77 6f 72 | 6b 20 68 6f 73 74 20 65 |t networ|k host e|
|000007e0| 6e 74 72 79 0a 58 2e 53 | 48 20 53 59 4e 4f 50 53 |ntry.X.S|H SYNOPS|
|000007f0| 49 53 0a 58 2e 42 20 22 | 23 69 6e 63 6c 75 64 65 |IS.X.B "|#include|
|00000800| 20 3c 6e 65 74 64 62 2e | 68 3e 0a 58 2e 50 50 0a | <netdb.|h>.X.PP.|
|00000810| 58 2e 42 20 22 65 78 74 | 65 72 6e 20 69 6e 74 20 |X.B "ext|ern int |
|00000820| 68 5f 65 72 72 6e 6f 3b | 0a 58 2e 50 50 0a 58 2e |h_errno;|.X.PP.X.|
|00000830| 42 20 22 73 74 72 75 63 | 74 20 68 6f 73 74 65 6e |B "struc|t hosten|
|00000840| 74 20 2a 67 65 74 68 6f | 73 74 62 79 6e 61 6d 65 |t *getho|stbyname|
|00000850| 28 6e 61 6d 65 29 0a 58 | 2e 62 72 0a 58 2e 42 20 |(name).X|.br.X.B |
|00000860| 22 63 68 61 72 20 2a 6e | 61 6d 65 3b 0a 58 2e 50 |"char *n|ame;.X.P|
|00000870| 50 0a 58 2e 42 20 22 73 | 74 72 75 63 74 20 68 6f |P.X.B "s|truct ho|
|00000880| 73 74 65 6e 74 20 2a 67 | 65 74 68 6f 73 74 62 79 |stent *g|ethostby|
|00000890| 61 64 64 72 28 61 64 64 | 72 2c 20 6c 65 6e 2c 20 |addr(add|r, len, |
|000008a0| 74 79 70 65 29 0a 58 2e | 62 72 0a 58 2e 42 20 22 |type).X.|br.X.B "|
|000008b0| 63 68 61 72 20 2a 61 64 | 64 72 3b 20 69 6e 74 20 |char *ad|dr; int |
|000008c0| 6c 65 6e 2c 20 74 79 70 | 65 3b 0a 58 2e 50 50 0a |len, typ|e;.X.PP.|
|000008d0| 58 2e 42 20 22 73 74 72 | 75 63 74 20 68 6f 73 74 |X.B "str|uct host|
|000008e0| 65 6e 74 20 2a 67 65 74 | 68 6f 73 74 65 6e 74 28 |ent *get|hostent(|
|000008f0| 29 0a 58 2e 50 50 0a 58 | 2e 42 20 22 73 65 74 68 |).X.PP.X|.B "seth|
|00000900| 6f 73 74 65 6e 74 28 73 | 74 61 79 6f 70 65 6e 29 |ostent(s|tayopen)|
|00000910| 0a 58 2e 62 72 0a 58 2e | 42 20 22 69 6e 74 20 73 |.X.br.X.|B "int s|
|00000920| 74 61 79 6f 70 65 6e 3b | 0a 58 2e 50 50 0a 58 2e |tayopen;|.X.PP.X.|
|00000930| 42 20 22 65 6e 64 68 6f | 73 74 65 6e 74 28 29 0a |B "endho|stent().|
|00000940| 58 2e 50 50 0a 58 2e 42 | 20 22 68 65 72 72 6f 72 |X.PP.X.B| "herror|
|00000950| 28 73 74 72 69 6e 67 29 | 0a 58 2e 62 72 0a 58 2e |(string)|.X.br.X.|
|00000960| 42 20 22 63 68 61 72 20 | 2a 73 74 72 69 6e 67 3b |B "char |*string;|
|00000970| 0a 58 2e 50 50 0a 58 2e | 53 48 20 44 45 53 43 52 |.X.PP.X.|SH DESCR|
|00000980| 49 50 54 49 4f 4e 0a 58 | 2e 49 20 47 65 74 68 6f |IPTION.X|.I Getho|
|00000990| 73 74 62 79 6e 61 6d 65 | 0a 58 61 6e 64 0a 58 2e |stbyname|.Xand.X.|
|000009a0| 49 20 67 65 74 68 6f 73 | 74 62 79 61 64 64 72 0a |I gethos|tbyaddr.|
|000009b0| 58 65 61 63 68 20 72 65 | 74 75 72 6e 20 61 20 70 |Xeach re|turn a p|
|000009c0| 6f 69 6e 74 65 72 20 74 | 6f 20 61 6e 20 6f 62 6a |ointer t|o an obj|
|000009d0| 65 63 74 20 77 69 74 68 | 20 74 68 65 0a 58 66 6f |ect with| the.Xfo|
|000009e0| 6c 6c 6f 77 69 6e 67 20 | 73 74 72 75 63 74 75 72 |llowing |structur|
|000009f0| 65 20 64 65 73 63 72 69 | 62 69 6e 67 20 61 6e 20 |e descri|bing an |
|00000a00| 69 6e 74 65 72 6e 65 74 | 20 68 6f 73 74 0a 58 72 |internet| host.Xr|
|00000a10| 65 66 65 72 65 6e 63 65 | 64 20 62 79 20 6e 61 6d |eference|d by nam|
|00000a20| 65 20 6f 72 20 62 79 20 | 61 64 64 72 65 73 73 2c |e or by |address,|
|00000a30| 20 72 65 73 70 65 63 74 | 69 76 65 6c 79 2e 0a 58 | respect|ively..X|
|00000a40| 54 68 69 73 20 73 74 72 | 75 63 74 75 72 65 20 63 |This str|ucture c|
|00000a50| 6f 6e 74 61 69 6e 73 20 | 65 69 74 68 65 72 20 74 |ontains |either t|
|00000a60| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |he infor|mation o|
|00000a70| 62 74 61 69 6e 65 64 20 | 66 72 6f 6d 20 74 68 65 |btained |from the|
|00000a80| 20 6e 61 6d 65 20 73 65 | 72 76 65 72 2c 0a 58 2e | name se|rver,.X.|
|00000a90| 49 52 20 6e 61 6d 65 64 | 20 28 38 29 2c 0a 58 6f |IR named| (8),.Xo|
|00000aa0| 72 20 62 72 6f 6b 65 6e | 2d 6f 75 74 20 66 69 65 |r broken|-out fie|
|00000ab0| 6c 64 73 20 66 72 6f 6d | 20 61 20 6c 69 6e 65 20 |lds from| a line |
|00000ac0| 69 6e 20 0a 58 2e 49 52 | 20 2f 65 74 63 2f 68 6f |in .X.IR| /etc/ho|
|00000ad0| 73 74 73 20 2e 0a 58 49 | 66 20 74 68 65 20 6c 6f |sts ..XI|f the lo|
|00000ae0| 63 61 6c 20 6e 61 6d 65 | 20 73 65 72 76 65 72 20 |cal name| server |
|00000af0| 69 73 20 6e 6f 74 20 72 | 75 6e 6e 69 6e 67 20 74 |is not r|unning t|
|00000b00| 68 65 73 65 20 72 6f 75 | 74 69 6e 65 73 20 64 6f |hese rou|tines do|
|00000b10| 20 61 20 6c 6f 6f 6b 75 | 70 20 69 6e 0a 58 2e 49 | a looku|p in.X.I|
|00000b20| 52 20 2f 65 74 63 2f 68 | 6f 73 74 73 20 2e 0a 58 |R /etc/h|osts ..X|
|00000b30| 2e 52 53 0a 58 2e 50 50 | 0a 58 2e 6e 66 0a 58 73 |.RS.X.PP|.X.nf.Xs|
|00000b40| 74 72 75 63 74 09 68 6f | 73 74 65 6e 74 20 7b 0a |truct.ho|stent {.|
|00000b50| 58 09 63 68 61 72 09 2a | 68 5f 6e 61 6d 65 3b 09 |X.char.*|h_name;.|
|00000b60| 2f 2a 20 6f 66 66 69 63 | 69 61 6c 20 6e 61 6d 65 |/* offic|ial name|
|00000b70| 20 6f 66 20 68 6f 73 74 | 20 2a 2f 0a 58 09 63 68 | of host| */.X.ch|
|00000b80| 61 72 09 2a 2a 68 5f 61 | 6c 69 61 73 65 73 3b 09 |ar.**h_a|liases;.|
|00000b90| 2f 2a 20 61 6c 69 61 73 | 20 6c 69 73 74 20 2a 2f |/* alias| list */|
|00000ba0| 0a 58 09 69 6e 74 09 68 | 5f 61 64 64 72 74 79 70 |.X.int.h|_addrtyp|
|00000bb0| 65 3b 09 2f 2a 20 68 6f | 73 74 20 61 64 64 72 65 |e;./* ho|st addre|
|00000bc0| 73 73 20 74 79 70 65 20 | 2a 2f 0a 58 09 69 6e 74 |ss type |*/.X.int|
|00000bd0| 09 68 5f 6c 65 6e 67 74 | 68 3b 09 2f 2a 20 6c 65 |.h_lengt|h;./* le|
|00000be0| 6e 67 74 68 20 6f 66 20 | 61 64 64 72 65 73 73 20 |ngth of |address |
|00000bf0| 2a 2f 0a 58 09 63 68 61 | 72 09 2a 2a 68 5f 61 64 |*/.X.cha|r.**h_ad|
|00000c00| 64 72 5f 6c 69 73 74 3b | 09 2f 2a 20 6c 69 73 74 |dr_list;|./* list|
|00000c10| 20 6f 66 20 61 64 64 72 | 65 73 73 65 73 20 66 72 | of addr|esses fr|
|00000c20| 6f 6d 20 6e 61 6d 65 20 | 73 65 72 76 65 72 20 2a |om name |server *|
|00000c30| 2f 0a 58 7d 3b 0a 58 23 | 64 65 66 69 6e 65 09 68 |/.X};.X#|define.h|
|00000c40| 5f 61 64 64 72 20 20 68 | 5f 61 64 64 72 5f 6c 69 |_addr h|_addr_li|
|00000c50| 73 74 5b 30 5d 09 2f 2a | 20 61 64 64 72 65 73 73 |st[0]./*| address|
|00000c60| 2c 20 66 6f 72 20 62 61 | 63 6b 77 61 72 64 20 63 |, for ba|ckward c|
|00000c70| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 20 2a 2f 0a |ompatibi|lity */.|
|00000c80| 58 2e 66 74 20 52 0a 58 | 2e 61 64 0a 58 2e 66 69 |X.ft R.X|.ad.X.fi|
|00000c90| 0a 58 2e 52 45 0a 58 2e | 50 50 0a 58 54 68 65 20 |.X.RE.X.|PP.XThe |
|00000ca0| 6d 65 6d 62 65 72 73 20 | 6f 66 20 74 68 69 73 20 |members |of this |
|00000cb0| 73 74 72 75 63 74 75 72 | 65 20 61 72 65 3a 0a 58 |structur|e are:.X|
|00000cc0| 2e 54 50 20 5c 77 27 68 | 5f 61 64 64 72 5f 6c 69 |.TP \w'h|_addr_li|
|00000cd0| 73 74 27 75 2b 32 6e 0a | 58 68 5f 6e 61 6d 65 0a |st'u+2n.|Xh_name.|
|00000ce0| 58 4f 66 66 69 63 69 61 | 6c 20 6e 61 6d 65 20 6f |XOfficia|l name o|
|00000cf0| 66 20 74 68 65 20 68 6f | 73 74 2e 0a 58 2e 54 50 |f the ho|st..X.TP|
|00000d00| 20 5c 77 27 68 5f 61 64 | 64 72 5f 6c 69 73 74 27 | \w'h_ad|dr_list'|
|00000d10| 75 2b 32 6e 0a 58 68 5f | 61 6c 69 61 73 65 73 0a |u+2n.Xh_|aliases.|
|00000d20| 58 41 20 7a 65 72 6f 20 | 74 65 72 6d 69 6e 61 74 |XA zero |terminat|
|00000d30| 65 64 20 61 72 72 61 79 | 20 6f 66 20 61 6c 74 65 |ed array| of alte|
|00000d40| 72 6e 61 74 65 20 6e 61 | 6d 65 73 20 66 6f 72 20 |rnate na|mes for |
|00000d50| 74 68 65 20 68 6f 73 74 | 2e 0a 58 2e 54 50 20 5c |the host|..X.TP \|
|00000d60| 77 27 68 5f 61 64 64 72 | 5f 6c 69 73 74 27 75 2b |w'h_addr|_list'u+|
|00000d70| 32 6e 0a 58 68 5f 61 64 | 64 72 74 79 70 65 0a 58 |2n.Xh_ad|drtype.X|
|00000d80| 54 68 65 20 74 79 70 65 | 20 6f 66 20 61 64 64 72 |The type| of addr|
|00000d90| 65 73 73 20 62 65 69 6e | 67 20 72 65 74 75 72 6e |ess bein|g return|
|00000da0| 65 64 3b 20 63 75 72 72 | 65 6e 74 6c 79 20 61 6c |ed; curr|ently al|
|00000db0| 77 61 79 73 20 41 46 5f | 49 4e 45 54 2e 0a 58 2e |ways AF_|INET..X.|
|00000dc0| 54 50 20 5c 77 27 68 5f | 61 64 64 72 5f 6c 69 73 |TP \w'h_|addr_lis|
|00000dd0| 74 27 75 2b 32 6e 0a 58 | 68 5f 6c 65 6e 67 74 68 |t'u+2n.X|h_length|
|00000de0| 0a 58 54 68 65 20 6c 65 | 6e 67 74 68 2c 20 69 6e |.XThe le|ngth, in|
|00000df0| 20 62 79 74 65 73 2c 20 | 6f 66 20 74 68 65 20 61 | bytes, |of the a|
|00000e00| 64 64 72 65 73 73 2e 0a | 58 2e 54 50 20 5c 77 27 |ddress..|X.TP \w'|
|00000e10| 68 5f 61 64 64 72 5f 6c | 69 73 74 27 75 2b 32 6e |h_addr_l|ist'u+2n|
|00000e20| 0a 58 68 5f 61 64 64 72 | 5f 6c 69 73 74 0a 58 41 |.Xh_addr|_list.XA|
|00000e30| 20 7a 65 72 6f 20 74 65 | 72 6d 69 6e 61 74 65 64 | zero te|rminated|
|00000e40| 20 61 72 72 61 79 20 6f | 66 20 6e 65 74 77 6f 72 | array o|f networ|
|00000e50| 6b 20 61 64 64 72 65 73 | 73 65 73 20 66 6f 72 20 |k addres|ses for |
|00000e60| 74 68 65 20 68 6f 73 74 | 2e 0a 58 48 6f 73 74 20 |the host|..XHost |
|00000e70| 61 64 64 72 65 73 73 65 | 73 20 61 72 65 20 72 65 |addresse|s are re|
|00000e80| 74 75 72 6e 65 64 20 69 | 6e 20 6e 65 74 77 6f 72 |turned i|n networ|
|00000e90| 6b 20 62 79 74 65 20 6f | 72 64 65 72 2e 0a 58 2e |k byte o|rder..X.|
|00000ea0| 54 50 20 5c 77 27 68 5f | 61 64 64 72 5f 6c 69 73 |TP \w'h_|addr_lis|
|00000eb0| 74 27 75 2b 32 6e 0a 58 | 68 5f 61 64 64 72 0a 58 |t'u+2n.X|h_addr.X|
|00000ec0| 54 68 65 20 66 69 72 73 | 74 20 61 64 64 72 65 73 |The firs|t addres|
|00000ed0| 73 20 69 6e 20 68 5f 61 | 64 64 72 5f 6c 69 73 74 |s in h_a|ddr_list|
|00000ee0| 3b 20 74 68 69 73 20 69 | 73 20 66 6f 72 20 62 61 |; this i|s for ba|
|00000ef0| 63 6b 77 61 72 64 20 63 | 6f 6d 70 61 74 69 62 6c |ckward c|ompatibl|
|00000f00| 69 74 79 2e 0a 58 2e 50 | 50 0a 58 57 68 65 6e 20 |ity..X.P|P.XWhen |
|00000f10| 75 73 69 6e 67 20 74 68 | 65 20 6e 61 6d 65 73 65 |using th|e namese|
|00000f20| 72 76 65 72 2c 0a 58 2e | 49 20 67 65 74 68 6f 73 |rver,.X.|I gethos|
|00000f30| 74 62 79 6e 61 6d 65 0a | 58 77 69 6c 6c 20 73 65 |tbyname.|Xwill se|
|00000f40| 61 72 63 68 20 66 6f 72 | 20 74 68 65 20 6e 61 6d |arch for| the nam|
|00000f50| 65 64 20 68 6f 73 74 20 | 69 6e 20 74 68 65 20 63 |ed host |in the c|
|00000f60| 75 72 72 65 6e 74 20 64 | 6f 6d 61 69 6e 20 61 6e |urrent d|omain an|
|00000f70| 64 20 69 74 73 20 70 61 | 72 65 6e 74 73 0a 58 75 |d its pa|rents.Xu|
|00000f80| 6e 6c 65 73 73 20 74 68 | 65 20 6e 61 6d 65 20 65 |nless th|e name e|
|00000f90| 6e 64 73 20 69 6e 20 61 | 20 64 6f 74 2e 0a 58 49 |nds in a| dot..XI|
|00000fa0| 66 20 74 68 65 20 6e 61 | 6d 65 20 63 6f 6e 74 61 |f the na|me conta|
|00000fb0| 69 6e 73 20 6e 6f 20 64 | 6f 74 2c 20 61 6e 64 20 |ins no d|ot, and |
|00000fc0| 69 66 20 74 68 65 20 65 | 6e 76 69 72 6f 6e 6d 65 |if the e|nvironme|
|00000fd0| 6e 74 20 76 61 72 69 61 | 62 6c 65 20 60 60 48 4f |nt varia|ble ``HO|
|00000fe0| 53 54 41 4c 41 49 41 53 | 45 53 27 27 0a 58 63 6f |STALAIAS|ES''.Xco|
|00000ff0| 6e 74 61 69 6e 73 20 74 | 68 65 20 6e 61 6d 65 20 |ntains t|he name |
|00001000| 6f 66 20 61 6e 20 61 6c | 69 61 73 20 66 69 6c 65 |of an al|ias file|
|00001010| 2c 20 74 68 65 20 61 6c | 69 61 73 20 66 69 6c 65 |, the al|ias file|
|00001020| 20 77 69 6c 6c 20 66 69 | 72 73 74 20 62 65 20 73 | will fi|rst be s|
|00001030| 65 61 72 63 68 65 64 0a | 58 66 6f 72 20 61 6e 20 |earched.|Xfor an |
|00001040| 61 6c 69 61 73 20 6d 61 | 74 63 68 69 6e 67 20 74 |alias ma|tching t|
|00001050| 68 65 20 69 6e 70 75 74 | 20 6e 61 6d 65 2e 0a 58 |he input| name..X|
|00001060| 53 65 65 0a 58 2e 49 52 | 20 68 6f 73 74 6e 61 6d |See.X.IR| hostnam|
|00001070| 65 20 28 37 29 0a 58 66 | 6f 72 20 74 68 65 20 64 |e (7).Xf|or the d|
|00001080| 6f 6d 61 69 6e 20 73 65 | 61 72 63 68 20 70 72 6f |omain se|arch pro|
|00001090| 63 65 64 75 72 65 20 61 | 6e 64 20 74 68 65 20 61 |cedure a|nd the a|
|000010a0| 6c 69 61 73 20 66 69 6c | 65 20 66 6f 72 6d 61 74 |lias fil|e format|
|000010b0| 2e 0a 58 2e 50 50 0a 58 | 2e 49 20 53 65 74 68 6f |..X.PP.X|.I Setho|
|000010c0| 73 74 65 6e 74 0a 58 6d | 61 79 20 62 65 20 75 73 |stent.Xm|ay be us|
|000010d0| 65 64 20 74 6f 20 72 65 | 71 75 65 73 74 20 74 68 |ed to re|quest th|
|000010e0| 65 20 75 73 65 20 6f 66 | 20 61 20 63 6f 6e 6e 65 |e use of| a conne|
|000010f0| 63 74 65 64 20 54 43 50 | 20 73 6f 63 6b 65 74 20 |cted TCP| socket |
|00001100| 66 6f 72 20 71 75 65 72 | 69 65 73 2e 0a 58 49 66 |for quer|ies..XIf|
|00001110| 20 74 68 65 0a 58 2e 49 | 20 73 74 61 79 6f 70 65 | the.X.I| stayope|
|00001120| 6e 0a 58 66 6c 61 67 20 | 69 73 20 6e 6f 6e 2d 7a |n.Xflag |is non-z|
|00001130| 65 72 6f 2c 0a 58 74 68 | 69 73 20 73 65 74 73 20 |ero,.Xth|is sets |
|00001140| 74 68 65 20 6f 70 74 69 | 6f 6e 20 74 6f 20 73 65 |the opti|on to se|
|00001150| 6e 64 20 61 6c 6c 20 71 | 75 65 72 69 65 73 20 74 |nd all q|ueries t|
|00001160| 6f 20 74 68 65 20 6e 61 | 6d 65 20 73 65 72 76 65 |o the na|me serve|
|00001170| 72 20 75 73 69 6e 67 20 | 54 43 50 0a 58 61 6e 64 |r using |TCP.Xand|
|00001180| 20 74 6f 20 72 65 74 61 | 69 6e 20 74 68 65 20 63 | to reta|in the c|
|00001190| 6f 6e 6e 65 63 74 69 6f | 6e 20 61 66 74 65 72 20 |onnectio|n after |
|000011a0| 65 61 63 68 20 63 61 6c | 6c 20 74 6f 20 0a 58 2e |each cal|l to .X.|
|000011b0| 49 20 67 65 74 68 6f 73 | 74 62 79 6e 61 6d 65 0a |I gethos|tbyname.|
|000011c0| 58 6f 72 0a 58 2e 49 52 | 20 67 65 74 68 6f 73 74 |Xor.X.IR| gethost|
|000011d0| 62 79 61 64 64 72 20 2e | 0a 58 4f 74 68 65 72 77 |byaddr .|.XOtherw|
|000011e0| 69 73 65 2c 20 71 75 65 | 72 69 65 73 20 61 72 65 |ise, que|ries are|
|000011f0| 20 70 65 72 66 6f 72 6d | 65 64 20 75 73 69 6e 67 | perform|ed using|
|00001200| 20 55 44 50 20 64 61 74 | 61 67 72 61 6d 73 2e 0a | UDP dat|agrams..|
|00001210| 58 2e 50 50 0a 58 2e 49 | 20 45 6e 64 68 6f 73 74 |X.PP.X.I| Endhost|
|00001220| 65 6e 74 0a 58 63 6c 6f | 73 65 73 20 74 68 65 20 |ent.Xclo|ses the |
|00001230| 54 43 50 20 63 6f 6e 6e | 65 63 74 69 6f 6e 2e 0a |TCP conn|ection..|
|00001240| 58 2e 53 48 20 44 49 41 | 47 4e 4f 53 54 49 43 53 |X.SH DIA|GNOSTICS|
|00001250| 0a 58 2e 50 50 0a 58 45 | 72 72 6f 72 20 72 65 74 |.X.PP.XE|rror ret|
|00001260| 75 72 6e 20 73 74 61 74 | 75 73 20 66 72 6f 6d 20 |urn stat|us from |
|00001270| 0a 58 2e 49 20 67 65 74 | 68 6f 73 74 62 79 6e 61 |.X.I get|hostbyna|
|00001280| 6d 65 0a 58 61 6e 64 0a | 58 2e 49 20 67 65 74 68 |me.Xand.|X.I geth|
|00001290| 6f 73 74 62 79 61 64 64 | 72 0a 58 69 73 20 69 6e |ostbyadd|r.Xis in|
|000012a0| 64 69 63 61 74 65 64 20 | 62 79 20 72 65 74 75 72 |dicated |by retur|
|000012b0| 6e 20 6f 66 20 61 20 6e | 75 6c 6c 20 70 6f 69 6e |n of a n|ull poin|
|000012c0| 74 65 72 2e 0a 58 54 68 | 65 20 65 78 74 65 72 6e |ter..XTh|e extern|
|000012d0| 61 6c 20 69 6e 74 65 67 | 65 72 0a 58 2e 49 52 20 |al integ|er.X.IR |
|000012e0| 68 5f 65 72 72 6e 6f 0a | 58 6d 61 79 20 74 68 65 |h_errno.|Xmay the|
|000012f0| 6e 20 62 65 20 63 68 65 | 63 6b 65 64 20 74 6f 20 |n be che|cked to |
|00001300| 73 65 65 20 77 68 65 74 | 68 65 72 20 74 68 69 73 |see whet|her this|
|00001310| 20 69 73 20 61 20 74 65 | 6d 70 6f 72 61 72 79 20 | is a te|mporary |
|00001320| 66 61 69 6c 75 72 65 0a | 58 6f 72 20 61 6e 20 69 |failure.|Xor an i|
|00001330| 6e 76 61 6c 69 64 20 6f | 72 20 75 6e 6b 6e 6f 77 |nvalid o|r unknow|
|00001340| 6e 20 68 6f 73 74 2e 0a | 58 54 68 65 20 72 6f 75 |n host..|XThe rou|
|00001350| 74 69 6e 65 0a 58 2e 49 | 20 68 65 72 72 6f 72 0a |tine.X.I| herror.|
|00001360| 58 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 |Xcan be |used to |
|00001370| 70 72 69 6e 74 20 61 6e | 20 65 72 72 6f 72 20 6d |print an| error m|
|00001380| 65 73 73 61 67 65 20 64 | 65 73 63 72 69 62 69 6e |essage d|escribin|
|00001390| 67 20 74 68 65 20 66 61 | 69 6c 75 72 65 2e 0a 58 |g the fa|ilure..X|
|000013a0| 49 66 20 69 74 73 20 61 | 72 67 75 6d 65 6e 74 0a |If its a|rgument.|
|000013b0| 58 2e 49 20 73 74 72 69 | 6e 67 0a 58 69 73 20 6e |X.I stri|ng.Xis n|
|000013c0| 6f 6e 2d 4e 55 4c 4c 2c | 20 69 74 20 69 73 20 70 |on-NULL,| it is p|
|000013d0| 72 69 6e 74 65 64 2c 20 | 66 6f 6c 6c 6f 77 65 64 |rinted, |followed|
|000013e0| 20 62 79 20 61 20 63 6f | 6c 6f 6e 20 61 6e 64 20 | by a co|lon and |
|000013f0| 61 20 73 70 61 63 65 2e | 0a 58 54 68 65 20 65 72 |a space.|.XThe er|
|00001400| 72 6f 72 20 6d 65 73 73 | 61 67 65 20 69 73 20 70 |ror mess|age is p|
|00001410| 72 69 6e 74 65 64 20 77 | 69 74 68 20 61 20 74 72 |rinted w|ith a tr|
|00001420| 61 69 6c 69 6e 67 20 6e | 65 77 6c 69 6e 65 2e 0a |ailing n|ewline..|
|00001430| 58 2e 50 50 0a 58 2e 49 | 52 20 68 5f 65 72 72 6e |X.PP.X.I|R h_errn|
|00001440| 6f 0a 58 63 61 6e 20 68 | 61 76 65 20 74 68 65 20 |o.Xcan h|ave the |
|00001450| 66 6f 6c 6c 6f 77 69 6e | 67 20 76 61 6c 75 65 73 |followin|g values|
|00001460| 3a 0a 58 2e 52 53 0a 58 | 2e 49 50 20 48 4f 53 54 |:.X.RS.X|.IP HOST|
|00001470| 5f 4e 4f 54 5f 46 4f 55 | 4e 44 20 5c 77 27 48 4f |_NOT_FOU|ND \w'HO|
|00001480| 53 54 5f 4e 4f 54 5f 46 | 4f 55 4e 44 27 75 2b 32 |ST_NOT_F|OUND'u+2|
|00001490| 6e 0a 58 4e 6f 20 73 75 | 63 68 20 68 6f 73 74 20 |n.XNo su|ch host |
|000014a0| 69 73 20 6b 6e 6f 77 6e | 2e 0a 58 2e 49 50 20 54 |is known|..X.IP T|
|000014b0| 52 59 5f 41 47 41 49 4e | 20 5c 77 27 48 4f 53 54 |RY_AGAIN| \w'HOST|
|000014c0| 5f 4e 4f 54 5f 46 4f 55 | 4e 44 27 75 2b 32 6e 0a |_NOT_FOU|ND'u+2n.|
|000014d0| 58 54 68 69 73 20 69 73 | 20 75 73 75 61 6c 6c 79 |XThis is| usually|
|000014e0| 20 61 20 74 65 6d 70 6f | 72 61 72 79 20 65 72 72 | a tempo|rary err|
|000014f0| 6f 72 0a 58 61 6e 64 20 | 6d 65 61 6e 73 20 74 68 |or.Xand |means th|
|00001500| 61 74 20 74 68 65 20 6c | 6f 63 61 6c 20 73 65 72 |at the l|ocal ser|
|00001510| 76 65 72 20 64 69 64 20 | 6e 6f 74 20 72 65 63 65 |ver did |not rece|
|00001520| 69 76 65 0a 58 61 20 72 | 65 73 70 6f 6e 73 65 20 |ive.Xa r|esponse |
|00001530| 66 72 6f 6d 20 61 6e 20 | 61 75 74 68 6f 72 69 74 |from an |authorit|
|00001540| 61 74 69 76 65 20 73 65 | 72 76 65 72 2e 0a 58 41 |ative se|rver..XA|
|00001550| 20 72 65 74 72 79 20 61 | 74 20 73 6f 6d 65 20 6c | retry a|t some l|
|00001560| 61 74 65 72 20 74 69 6d | 65 20 6d 61 79 20 73 75 |ater tim|e may su|
|00001570| 63 63 65 65 64 2e 0a 58 | 2e 49 50 20 4e 4f 5f 52 |cceed..X|.IP NO_R|
|00001580| 45 43 4f 56 45 52 59 20 | 5c 77 27 48 4f 53 54 5f |ECOVERY |\w'HOST_|
|00001590| 4e 4f 54 5f 46 4f 55 4e | 44 27 75 2b 32 6e 0a 58 |NOT_FOUN|D'u+2n.X|
|000015a0| 53 6f 6d 65 20 75 6e 65 | 78 70 65 63 74 65 64 20 |Some une|xpected |
|000015b0| 73 65 72 76 65 72 20 66 | 61 69 6c 75 72 65 20 77 |server f|ailure w|
|000015c0| 61 73 20 65 6e 63 6f 75 | 6e 74 65 72 65 64 2e 0a |as encou|ntered..|
|000015d0| 58 54 68 69 73 20 69 73 | 20 61 20 6e 6f 6e 2d 72 |XThis is| a non-r|
|000015e0| 65 63 6f 76 65 72 61 62 | 6c 65 20 65 72 72 6f 72 |ecoverab|le error|
|000015f0| 2e 0a 58 2e 49 50 20 4e | 4f 5f 44 41 54 41 20 5c |..X.IP N|O_DATA \|
|00001600| 77 27 48 4f 53 54 5f 4e | 4f 54 5f 46 4f 55 4e 44 |w'HOST_N|OT_FOUND|
|00001610| 27 75 2b 32 6e 0a 58 54 | 68 65 20 72 65 71 75 65 |'u+2n.XT|he reque|
|00001620| 73 74 65 64 20 6e 61 6d | 65 20 69 73 20 76 61 6c |sted nam|e is val|
|00001630| 69 64 20 62 75 74 20 64 | 6f 65 73 20 6e 6f 74 20 |id but d|oes not |
|00001640| 68 61 76 65 20 61 6e 20 | 49 50 20 61 64 64 72 65 |have an |IP addre|
|00001650| 73 73 3b 20 0a 58 74 68 | 69 73 20 69 73 20 6e 6f |ss; .Xth|is is no|
|00001660| 74 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 65 72 |t a temp|orary er|
|00001670| 72 6f 72 2e 20 20 0a 58 | 54 68 69 73 20 6d 65 61 |ror. .X|This mea|
|00001680| 6e 73 20 74 68 61 74 20 | 74 68 65 20 6e 61 6d 65 |ns that |the name|
|00001690| 20 69 73 20 6b 6e 6f 77 | 6e 20 74 6f 20 74 68 65 | is know|n to the|
|000016a0| 20 6e 61 6d 65 20 73 65 | 72 76 65 72 20 62 75 74 | name se|rver but|
|000016b0| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 61 64 64 | there i|s no add|
|000016c0| 72 65 73 73 0a 58 61 73 | 73 6f 63 69 61 74 65 64 |ress.Xas|sociated|
|000016d0| 20 77 69 74 68 20 74 68 | 69 73 20 6e 61 6d 65 2e | with th|is name.|
|000016e0| 0a 58 41 6e 6f 74 68 65 | 72 20 74 79 70 65 20 6f |.XAnothe|r type o|
|000016f0| 66 20 72 65 71 75 65 73 | 74 20 74 6f 20 74 68 65 |f reques|t to the|
|00001700| 20 6e 61 6d 65 20 73 65 | 72 76 65 72 20 75 73 69 | name se|rver usi|
|00001710| 6e 67 20 74 68 69 73 20 | 64 6f 6d 61 69 6e 20 6e |ng this |domain n|
|00001720| 61 6d 65 0a 58 77 69 6c | 6c 20 72 65 73 75 6c 74 |ame.Xwil|l result|
|00001730| 20 69 6e 20 61 6e 20 61 | 6e 73 77 65 72 3b 0a 58 | in an a|nswer;.X|
|00001740| 66 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 61 20 6d |for exam|ple, a m|
|00001750| 61 69 6c 2d 66 6f 72 77 | 61 72 64 65 72 20 6d 61 |ail-forw|arder ma|
|00001760| 79 20 62 65 20 72 65 67 | 69 73 74 65 72 65 64 20 |y be reg|istered |
|00001770| 66 6f 72 20 74 68 69 73 | 20 64 6f 6d 61 69 6e 2e |for this| domain.|
|00001780| 0a 58 2e 52 45 0a 58 2e | 53 48 20 46 49 4c 45 53 |.X.RE.X.|SH FILES|
|00001790| 0a 58 2f 65 74 63 2f 68 | 6f 73 74 73 0a 58 2e 53 |.X/etc/h|osts.X.S|
|000017a0| 48 20 22 53 45 45 20 41 | 4c 53 4f 22 0a 58 72 65 |H "SEE A|LSO".Xre|
|000017b0| 73 6f 6c 76 65 72 28 33 | 29 2c 20 68 6f 73 74 73 |solver(3|), hosts|
|000017c0| 28 35 29 2c 20 68 6f 73 | 74 6e 61 6d 65 28 37 29 |(5), hos|tname(7)|
|000017d0| 2c 20 6e 61 6d 65 64 28 | 38 29 0a 58 2e 53 48 20 |, named(|8).X.SH |
|000017e0| 43 41 56 45 41 54 0a 58 | 2e 50 50 0a 58 2e 49 20 |CAVEAT.X|.PP.X.I |
|000017f0| 47 65 74 68 6f 73 74 65 | 6e 74 0a 58 69 73 20 64 |Gethoste|nt.Xis d|
|00001800| 65 66 69 6e 65 64 2c 20 | 61 6e 64 0a 58 2e 49 20 |efined, |and.X.I |
|00001810| 73 65 74 68 6f 73 74 65 | 6e 74 0a 58 61 6e 64 0a |sethoste|nt.Xand.|
|00001820| 58 2e 49 20 65 6e 64 68 | 6f 73 74 65 6e 74 0a 58 |X.I endh|ostent.X|
|00001830| 61 72 65 20 72 65 64 65 | 66 69 6e 65 64 2c 0a 58 |are rede|fined,.X|
|00001840| 77 68 65 6e 0a 58 2e 49 | 52 20 6c 69 62 63 0a 58 |when.X.I|R libc.X|
|00001850| 69 73 20 62 75 69 6c 74 | 20 74 6f 20 75 73 65 20 |is built| to use |
|00001860| 6f 6e 6c 79 20 74 68 65 | 20 72 6f 75 74 69 6e 65 |only the| routine|
|00001870| 73 20 74 6f 20 6c 6f 6f | 6b 75 70 20 69 6e 0a 58 |s to loo|kup in.X|
|00001880| 2e 49 52 20 2f 65 74 63 | 2f 68 6f 73 74 73 20 0a |.IR /etc|/hosts .|
|00001890| 58 61 6e 64 20 6e 6f 74 | 20 74 68 65 20 6e 61 6d |Xand not| the nam|
|000018a0| 65 20 73 65 72 76 65 72 | 2e 0a 58 2e 50 50 0a 58 |e server|..X.PP.X|
|000018b0| 2e 49 20 47 65 74 68 6f | 73 74 65 6e 74 0a 58 72 |.I Getho|stent.Xr|
|000018c0| 65 61 64 73 20 74 68 65 | 20 6e 65 78 74 20 6c 69 |eads the| next li|
|000018d0| 6e 65 20 6f 66 0a 58 2e | 49 52 20 2f 65 74 63 2f |ne of.X.|IR /etc/|
|000018e0| 68 6f 73 74 73 20 2c 0a | 58 6f 70 65 6e 69 6e 67 |hosts ,.|Xopening|
|000018f0| 20 74 68 65 20 66 69 6c | 65 20 69 66 20 6e 65 63 | the fil|e if nec|
|00001900| 65 73 73 61 72 79 2e 0a | 58 2e 50 50 0a 58 2e 49 |essary..|X.PP.X.I|
|00001910| 20 53 65 74 68 6f 73 74 | 65 6e 74 20 0a 58 69 73 | Sethost|ent .Xis|
|00001920| 20 72 65 64 65 66 69 6e | 65 64 20 74 6f 20 6f 70 | redefin|ed to op|
|00001930| 65 6e 20 61 6e 64 20 72 | 65 77 69 6e 64 20 74 68 |en and r|ewind th|
|00001940| 65 20 66 69 6c 65 2e 20 | 20 49 66 20 74 68 65 0a |e file. | If the.|
|00001950| 58 2e 49 20 73 74 61 79 | 6f 70 65 6e 0a 58 61 72 |X.I stay|open.Xar|
|00001960| 67 75 6d 65 6e 74 20 69 | 73 20 6e 6f 6e 2d 7a 65 |gument i|s non-ze|
|00001970| 72 6f 2c 0a 58 74 68 65 | 20 68 6f 73 74 73 20 64 |ro,.Xthe| hosts d|
|00001980| 61 74 61 20 62 61 73 65 | 20 77 69 6c 6c 20 6e 6f |ata base| will no|
|00001990| 74 20 62 65 20 63 6c 6f | 73 65 64 20 61 66 74 65 |t be clo|sed afte|
|000019a0| 72 20 65 61 63 68 20 63 | 61 6c 6c 20 74 6f 0a 58 |r each c|all to.X|
|000019b0| 2e 49 20 67 65 74 68 6f | 73 74 62 79 6e 61 6d 65 |.I getho|stbyname|
|000019c0| 0a 58 6f 72 0a 58 2e 49 | 52 20 67 65 74 68 6f 73 |.Xor.X.I|R gethos|
|000019d0| 74 62 79 61 64 64 72 20 | 2e 0a 58 2e 49 20 45 6e |tbyaddr |..X.I En|
|000019e0| 64 68 6f 73 74 65 6e 74 | 0a 58 69 73 20 72 65 64 |dhostent|.Xis red|
|000019f0| 65 66 69 6e 65 64 20 74 | 6f 20 63 6c 6f 73 65 20 |efined t|o close |
|00001a00| 74 68 65 20 66 69 6c 65 | 2e 0a 58 2e 53 48 20 42 |the file|..X.SH B|
|00001a10| 55 47 53 0a 58 41 6c 6c | 20 69 6e 66 6f 72 6d 61 |UGS.XAll| informa|
|00001a20| 74 69 6f 6e 0a 58 69 73 | 20 63 6f 6e 74 61 69 6e |tion.Xis| contain|
|00001a30| 65 64 20 69 6e 20 61 20 | 73 74 61 74 69 63 20 61 |ed in a |static a|
|00001a40| 72 65 61 0a 58 73 6f 20 | 69 74 20 6d 75 73 74 20 |rea.Xso |it must |
|00001a50| 62 65 20 63 6f 70 69 65 | 64 20 69 66 20 69 74 20 |be copie|d if it |
|00001a60| 69 73 0a 58 74 6f 20 62 | 65 20 73 61 76 65 64 2e |is.Xto b|e saved.|
|00001a70| 20 20 4f 6e 6c 79 20 74 | 68 65 20 49 6e 74 65 72 | Only t|he Inter|
|00001a80| 6e 65 74 0a 58 61 64 64 | 72 65 73 73 20 66 6f 72 |net.Xadd|ress for|
|00001a90| 6d 61 74 20 69 73 20 63 | 75 72 72 65 6e 74 6c 79 |mat is c|urrently|
|00001aa0| 20 75 6e 64 65 72 73 74 | 6f 6f 64 2e 0a 45 4e 44 | underst|ood..END|
|00001ab0| 2d 6f 66 2d 6d 61 6e 2f | 67 65 74 68 6f 73 74 62 |-of-man/|gethostb|
|00001ac0| 79 6e 61 6d 65 2e 33 0a | 65 63 68 6f 20 78 20 2d |yname.3.|echo x -|
|00001ad0| 20 6d 61 6e 2f 72 65 73 | 6f 6c 76 65 72 2e 35 0a | man/res|olver.5.|
|00001ae0| 73 65 64 20 27 73 2f 5e | 58 2f 2f 27 20 3e 6d 61 |sed 's/^|X//' >ma|
|00001af0| 6e 2f 72 65 73 6f 6c 76 | 65 72 2e 35 20 3c 3c 20 |n/resolv|er.5 << |
|00001b00| 27 45 4e 44 2d 6f 66 2d | 6d 61 6e 2f 72 65 73 6f |'END-of-|man/reso|
|00001b10| 6c 76 65 72 2e 35 27 0a | 58 2e 5c 22 20 43 6f 70 |lver.5'.|X.\" Cop|
|00001b20| 79 72 69 67 68 74 20 28 | 63 29 20 31 39 38 36 20 |yright (|c) 1986 |
|00001b30| 54 68 65 20 52 65 67 65 | 6e 74 73 20 6f 66 20 74 |The Rege|nts of t|
|00001b40| 68 65 20 55 6e 69 76 65 | 72 73 69 74 79 20 6f 66 |he Unive|rsity of|
|00001b50| 20 43 61 6c 69 66 6f 72 | 6e 69 61 2e 0a 58 2e 5c | Califor|nia..X.\|
|00001b60| 22 20 41 6c 6c 20 72 69 | 67 68 74 73 20 72 65 73 |" All ri|ghts res|
|00001b70| 65 72 76 65 64 2e 0a 58 | 2e 5c 22 0a 58 2e 5c 22 |erved..X|.\".X.\"|
|00001b80| 20 52 65 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 | Redistr|ibution |
|00001b90| 61 6e 64 20 75 73 65 20 | 69 6e 20 73 6f 75 72 63 |and use |in sourc|
|00001ba0| 65 20 61 6e 64 20 62 69 | 6e 61 72 79 20 66 6f 72 |e and bi|nary for|
|00001bb0| 6d 73 20 61 72 65 20 70 | 65 72 6d 69 74 74 65 64 |ms are p|ermitted|
|00001bc0| 0a 58 2e 5c 22 20 70 72 | 6f 76 69 64 65 64 20 74 |.X.\" pr|ovided t|
|00001bd0| 68 61 74 20 74 68 65 20 | 61 62 6f 76 65 20 63 6f |hat the |above co|
|00001be0| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|00001bf0| 6e 64 20 74 68 69 73 20 | 70 61 72 61 67 72 61 70 |nd this |paragrap|
|00001c00| 68 20 61 72 65 0a 58 2e | 5c 22 20 64 75 70 6c 69 |h are.X.|\" dupli|
|00001c10| 63 61 74 65 64 20 69 6e | 20 61 6c 6c 20 73 75 63 |cated in| all suc|
|00001c20| 68 20 66 6f 72 6d 73 20 | 61 6e 64 20 74 68 61 74 |h forms |and that|
|00001c30| 20 61 6e 79 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | any doc|umentati|
|00001c40| 6f 6e 2c 0a 58 2e 5c 22 | 20 61 64 76 65 72 74 69 |on,.X.\"| adverti|
|00001c50| 73 69 6e 67 20 6d 61 74 | 65 72 69 61 6c 73 2c 20 |sing mat|erials, |
|00001c60| 61 6e 64 20 6f 74 68 65 | 72 20 6d 61 74 65 72 69 |and othe|r materi|
|00001c70| 61 6c 73 20 72 65 6c 61 | 74 65 64 20 74 6f 20 73 |als rela|ted to s|
|00001c80| 75 63 68 0a 58 2e 5c 22 | 20 64 69 73 74 72 69 62 |uch.X.\"| distrib|
|00001c90| 75 74 69 6f 6e 20 61 6e | 64 20 75 73 65 20 61 63 |ution an|d use ac|
|00001ca0| 6b 6e 6f 77 6c 65 64 67 | 65 20 74 68 61 74 20 74 |knowledg|e that t|
|00001cb0| 68 65 20 73 6f 66 74 77 | 61 72 65 20 77 61 73 20 |he softw|are was |
|00001cc0| 64 65 76 65 6c 6f 70 65 | 64 0a 58 2e 5c 22 20 62 |develope|d.X.\" b|
|00001cd0| 79 20 74 68 65 20 55 6e | 69 76 65 72 73 69 74 79 |y the Un|iversity|
|00001ce0| 20 6f 66 20 43 61 6c 69 | 66 6f 72 6e 69 61 2c 20 | of Cali|fornia, |
|00001cf0| 42 65 72 6b 65 6c 65 79 | 2e 20 20 54 68 65 20 6e |Berkeley|. The n|
|00001d00| 61 6d 65 20 6f 66 20 74 | 68 65 0a 58 2e 5c 22 20 |ame of t|he.X.\" |
|00001d10| 55 6e 69 76 65 72 73 69 | 74 79 20 6d 61 79 20 6e |Universi|ty may n|
|00001d20| 6f 74 20 62 65 20 75 73 | 65 64 20 74 6f 20 65 6e |ot be us|ed to en|
|00001d30| 64 6f 72 73 65 20 6f 72 | 20 70 72 6f 6d 6f 74 65 |dorse or| promote|
|00001d40| 20 70 72 6f 64 75 63 74 | 73 20 64 65 72 69 76 65 | product|s derive|
|00001d50| 64 0a 58 2e 5c 22 20 66 | 72 6f 6d 20 74 68 69 73 |d.X.\" f|rom this|
|00001d60| 20 73 6f 66 74 77 61 72 | 65 20 77 69 74 68 6f 75 | softwar|e withou|
|00001d70| 74 20 73 70 65 63 69 66 | 69 63 20 70 72 69 6f 72 |t specif|ic prior|
|00001d80| 20 77 72 69 74 74 65 6e | 20 70 65 72 6d 69 73 73 | written| permiss|
|00001d90| 69 6f 6e 2e 0a 58 2e 5c | 22 20 54 48 49 53 20 53 |ion..X.\|" THIS S|
|00001da0| 4f 46 54 57 41 52 45 20 | 49 53 20 50 52 4f 56 49 |OFTWARE |IS PROVI|
|00001db0| 44 45 44 20 60 60 41 53 | 20 49 53 27 27 20 41 4e |DED ``AS| IS'' AN|
|00001dc0| 44 20 57 49 54 48 4f 55 | 54 20 41 4e 59 20 45 58 |D WITHOU|T ANY EX|
|00001dd0| 50 52 45 53 53 20 4f 52 | 0a 58 2e 5c 22 20 49 4d |PRESS OR|.X.\" IM|
|00001de0| 50 4c 49 45 44 20 57 41 | 52 52 41 4e 54 49 45 53 |PLIED WA|RRANTIES|
|00001df0| 2c 20 49 4e 43 4c 55 44 | 49 4e 47 2c 20 57 49 54 |, INCLUD|ING, WIT|
|00001e00| 48 4f 55 54 20 4c 49 4d | 49 54 41 54 49 4f 4e 2c |HOUT LIM|ITATION,|
|00001e10| 20 54 48 45 20 49 4d 50 | 4c 49 45 44 0a 58 2e 5c | THE IMP|LIED.X.\|
|00001e20| 22 20 57 41 52 52 41 4e | 54 49 45 53 20 4f 46 20 |" WARRAN|TIES OF |
|00001e30| 4d 45 52 43 48 41 4e 54 | 41 42 49 4c 49 54 59 20 |MERCHANT|ABILITY |
|00001e40| 41 4e 44 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 |AND FITN|ESS FOR |
|00001e50| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00001e60| 50 4f 53 45 2e 0a 58 2e | 5c 22 0a 58 2e 5c 22 09 |POSE..X.|\".X.\".|
|00001e70| 40 28 23 29 72 65 73 6f | 6c 76 65 72 2e 35 09 35 |@(#)reso|lver.5.5|
|00001e80| 2e 39 20 28 42 65 72 6b | 65 6c 65 79 29 20 31 32 |.9 (Berk|eley) 12|
|00001e90| 2f 31 34 2f 38 39 0a 58 | 2e 5c 22 0a 58 2e 54 48 |/14/89.X|.\".X.TH|
|00001ea0| 20 52 45 53 4f 4c 56 45 | 52 20 35 20 22 44 65 63 | RESOLVE|R 5 "Dec|
|00001eb0| 65 6d 62 65 72 20 31 34 | 2c 20 31 39 38 39 22 0a |ember 14|, 1989".|
|00001ec0| 58 2e 55 43 20 34 0a 58 | 2e 53 48 20 4e 41 4d 45 |X.UC 4.X|.SH NAME|
|00001ed0| 0a 58 72 65 73 6f 6c 76 | 65 72 20 5c 2d 20 72 65 |.Xresolv|er \- re|
|00001ee0| 73 6f 6c 76 65 72 20 63 | 6f 6e 66 69 67 75 72 61 |solver c|onfigura|
|00001ef0| 74 69 6f 6e 20 66 69 6c | 65 0a 58 2e 53 48 20 53 |tion fil|e.X.SH S|
|00001f00| 59 4e 4f 50 53 49 53 0a | 58 2f 65 74 63 2f 72 65 |YNOPSIS.|X/etc/re|
|00001f10| 73 6f 6c 76 2e 63 6f 6e | 66 0a 58 2e 53 48 20 44 |solv.con|f.X.SH D|
|00001f20| 45 53 43 52 49 50 54 49 | 4f 4e 0a 58 2e 4c 50 0a |ESCRIPTI|ON.X.LP.|
|00001f30| 58 54 68 65 0a 58 2e 49 | 20 72 65 73 6f 6c 76 65 |XThe.X.I| resolve|
|00001f40| 72 0a 58 69 73 20 61 20 | 73 65 74 20 6f 66 20 72 |r.Xis a |set of r|
|00001f50| 6f 75 74 69 6e 65 73 20 | 69 6e 20 74 68 65 20 43 |outines |in the C|
|00001f60| 20 6c 69 62 72 61 72 79 | 20 28 5c 63 0a 58 2e 49 | library| (\c.X.I|
|00001f70| 52 20 72 65 73 6f 6c 76 | 20 28 33 29 29 0a 58 74 |R resolv| (3)).Xt|
|00001f80| 68 61 74 20 70 72 6f 76 | 69 64 65 20 61 63 63 65 |hat prov|ide acce|
|00001f90| 73 73 20 74 6f 20 74 68 | 65 20 49 6e 74 65 72 6e |ss to th|e Intern|
|00001fa0| 65 74 20 44 6f 6d 61 69 | 6e 20 4e 61 6d 65 20 53 |et Domai|n Name S|
|00001fb0| 79 73 74 65 6d 2e 0a 58 | 54 68 65 20 72 65 73 6f |ystem..X|The reso|
|00001fc0| 6c 76 65 72 20 63 6f 6e | 66 69 67 75 72 61 74 69 |lver con|figurati|
|00001fd0| 6f 6e 20 66 69 6c 65 20 | 63 6f 6e 74 61 69 6e 73 |on file |contains|
|00001fe0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 74 68 61 | informa|tion tha|
|00001ff0| 74 20 69 73 20 72 65 61 | 64 0a 58 62 79 20 74 68 |t is rea|d.Xby th|
|00002000| 65 20 72 65 73 6f 6c 76 | 65 72 20 72 6f 75 74 69 |e resolv|er routi|
|00002010| 6e 65 73 20 74 68 65 20 | 66 69 72 73 74 20 74 69 |nes the |first ti|
|00002020| 6d 65 20 74 68 65 79 20 | 61 72 65 20 69 6e 76 6f |me they |are invo|
|00002030| 6b 65 64 20 62 79 20 61 | 20 70 72 6f 63 65 73 73 |ked by a| process|
|00002040| 2e 0a 58 54 68 65 20 66 | 69 6c 65 20 69 73 20 64 |..XThe f|ile is d|
|00002050| 65 73 69 67 6e 65 64 20 | 74 6f 20 62 65 20 68 75 |esigned |to be hu|
|00002060| 6d 61 6e 20 72 65 61 64 | 61 62 6c 65 20 61 6e 64 |man read|able and|
|00002070| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 6c 69 73 74 | contain|s a list|
|00002080| 20 6f 66 0a 58 6b 65 79 | 77 6f 72 64 73 20 77 69 | of.Xkey|words wi|
|00002090| 74 68 20 76 61 6c 75 65 | 73 20 74 68 61 74 20 70 |th value|s that p|
|000020a0| 72 6f 76 69 64 65 20 76 | 61 72 69 6f 75 73 20 74 |rovide v|arious t|
|000020b0| 79 70 65 73 20 6f 66 20 | 72 65 73 6f 6c 76 65 72 |ypes of |resolver|
|000020c0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0a 58 2e | informa|tion..X.|
|000020d0| 4c 50 0a 58 4f 6e 20 61 | 20 6e 6f 72 6d 61 6c 6c |LP.XOn a| normall|
|000020e0| 79 20 63 6f 6e 66 69 67 | 75 72 65 64 20 73 79 73 |y config|ured sys|
|000020f0| 74 65 6d 20 74 68 69 73 | 20 66 69 6c 65 20 73 68 |tem this| file sh|
|00002100| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 6e 65 63 65 |ould not| be nece|
|00002110| 73 73 61 72 79 2e 0a 58 | 54 68 65 20 6f 6e 6c 79 |ssary..X|The only|
|00002120| 20 6e 61 6d 65 20 73 65 | 72 76 65 72 20 74 6f 20 | name se|rver to |
|00002130| 62 65 20 71 75 65 72 69 | 65 64 20 77 69 6c 6c 20 |be queri|ed will |
|00002140| 62 65 20 6f 6e 20 74 68 | 65 20 6c 6f 63 61 6c 20 |be on th|e local |
|00002150| 6d 61 63 68 69 6e 65 2c | 0a 58 74 68 65 20 64 6f |machine,|.Xthe do|
|00002160| 6d 61 69 6e 20 6e 61 6d | 65 20 69 73 20 64 65 74 |main nam|e is det|
|00002170| 65 72 6d 69 6e 65 64 20 | 66 72 6f 6d 20 74 68 65 |ermined |from the|
|00002180| 20 68 6f 73 74 20 6e 61 | 6d 65 2c 0a 58 61 6e 64 | host na|me,.Xand|
|00002190| 20 74 68 65 20 64 6f 6d | 61 69 6e 20 73 65 61 72 | the dom|ain sear|
|000021a0| 63 68 20 70 61 74 68 20 | 69 73 20 63 6f 6e 73 74 |ch path |is const|
|000021b0| 72 75 63 74 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |ructed f|rom the |
|000021c0| 64 6f 6d 61 69 6e 20 6e | 61 6d 65 2e 0a 58 2e 4c |domain n|ame..X.L|
|000021d0| 50 0a 58 54 68 65 20 64 | 69 66 66 65 72 65 6e 74 |P.XThe d|ifferent|
|000021e0| 20 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 6f | configu|ration o|
|000021f0| 70 74 69 6f 6e 73 20 61 | 72 65 3a 0a 58 2e 54 50 |ptions a|re:.X.TP|
|00002200| 0a 58 5c 66 42 6e 61 6d | 65 73 65 72 76 65 72 5c |.X\fBnam|eserver\|
|00002210| 66 50 0a 58 49 6e 74 65 | 72 6e 65 74 20 61 64 64 |fP.XInte|rnet add|
|00002220| 72 65 73 73 20 28 69 6e | 20 64 6f 74 20 6e 6f 74 |ress (in| dot not|
|00002230| 61 74 69 6f 6e 29 20 6f | 66 20 61 20 6e 61 6d 65 |ation) o|f a name|
|00002240| 20 73 65 72 76 65 72 0a | 58 74 68 61 74 20 74 68 | server.|Xthat th|
|00002250| 65 20 72 65 73 6f 6c 76 | 65 72 20 73 68 6f 75 6c |e resolv|er shoul|
|00002260| 64 20 71 75 65 72 79 2e | 0a 58 55 70 20 74 6f 20 |d query.|.XUp to |
|00002270| 4d 41 58 4e 53 20 28 63 | 75 72 72 65 6e 74 6c 79 |MAXNS (c|urrently|
|00002280| 20 33 29 20 6e 61 6d 65 | 20 73 65 72 76 65 72 73 | 3) name| servers|
|00002290| 20 6d 61 79 20 62 65 20 | 6c 69 73 74 65 64 2c 0a | may be |listed,.|
|000022a0| 58 6f 6e 65 20 70 65 72 | 20 6b 65 79 77 6f 72 64 |Xone per| keyword|
|000022b0| 2e 0a 58 49 66 20 74 68 | 65 72 65 20 61 72 65 20 |..XIf th|ere are |
|000022c0| 6d 75 6c 74 69 70 6c 65 | 20 73 65 72 76 65 72 73 |multiple| servers|
|000022d0| 2c 0a 58 74 68 65 20 72 | 65 73 6f 6c 76 65 72 20 |,.Xthe r|esolver |
|000022e0| 6c 69 62 72 61 72 79 20 | 71 75 65 72 69 65 73 20 |library |queries |
|000022f0| 74 68 65 6d 20 69 6e 20 | 74 68 65 20 6f 72 64 65 |them in |the orde|
|00002300| 72 20 6c 69 73 74 65 64 | 2e 0a 58 49 66 20 6e 6f |r listed|..XIf no|
|00002310| 20 5c 66 42 6e 61 6d 65 | 73 65 72 76 65 72 5c 66 | \fBname|server\f|
|00002320| 50 20 65 6e 74 72 69 65 | 73 20 61 72 65 20 70 72 |P entrie|s are pr|
|00002330| 65 73 65 6e 74 2c 0a 58 | 74 68 65 20 64 65 66 61 |esent,.X|the defa|
|00002340| 75 6c 74 20 69 73 20 74 | 6f 20 75 73 65 20 74 68 |ult is t|o use th|
|00002350| 65 20 6e 61 6d 65 20 73 | 65 72 76 65 72 20 6f 6e |e name s|erver on|
|00002360| 20 74 68 65 20 6c 6f 63 | 61 6c 20 6d 61 63 68 69 | the loc|al machi|
|00002370| 6e 65 2e 0a 58 28 54 68 | 65 20 61 6c 67 6f 72 69 |ne..X(Th|e algori|
|00002380| 74 68 6d 20 75 73 65 64 | 20 69 73 20 74 6f 20 74 |thm used| is to t|
|00002390| 72 79 20 61 20 6e 61 6d | 65 20 73 65 72 76 65 72 |ry a nam|e server|
|000023a0| 2c 20 61 6e 64 20 69 66 | 20 74 68 65 20 71 75 65 |, and if| the que|
|000023b0| 72 79 20 74 69 6d 65 73 | 20 6f 75 74 2c 0a 58 74 |ry times| out,.Xt|
|000023c0| 72 79 20 74 68 65 20 6e | 65 78 74 2c 20 75 6e 74 |ry the n|ext, unt|
|000023d0| 69 6c 20 6f 75 74 20 6f | 66 20 6e 61 6d 65 20 73 |il out o|f name s|
|000023e0| 65 72 76 65 72 73 2c 0a | 58 74 68 65 6e 20 72 65 |ervers,.|Xthen re|
|000023f0| 70 65 61 74 20 74 72 79 | 69 6e 67 20 61 6c 6c 20 |peat try|ing all |
|00002400| 74 68 65 20 6e 61 6d 65 | 20 73 65 72 76 65 72 73 |the name| servers|
|00002410| 0a 58 75 6e 74 69 6c 20 | 61 20 6d 61 78 69 6d 75 |.Xuntil |a maximu|
|00002420| 6d 20 6e 75 6d 62 65 72 | 20 6f 66 20 72 65 74 72 |m number| of retr|
|00002430| 69 65 73 20 61 72 65 20 | 6d 61 64 65 29 2e 0a 58 |ies are |made)..X|
|00002440| 2e 54 50 0a 58 5c 66 42 | 64 6f 6d 61 69 6e 5c 66 |.TP.X\fB|domain\f|
|00002450| 50 0a 58 4c 6f 63 61 6c | 20 64 6f 6d 61 69 6e 20 |P.XLocal| domain |
|00002460| 6e 61 6d 65 2e 0a 58 4d | 6f 73 74 20 71 75 65 72 |name..XM|ost quer|
|00002470| 69 65 73 20 66 6f 72 20 | 6e 61 6d 65 73 20 77 69 |ies for |names wi|
|00002480| 74 68 69 6e 20 74 68 69 | 73 20 64 6f 6d 61 69 6e |thin thi|s domain|
|00002490| 20 63 61 6e 20 75 73 65 | 20 73 68 6f 72 74 20 6e | can use| short n|
|000024a0| 61 6d 65 73 0a 58 72 65 | 6c 61 74 69 76 65 20 74 |ames.Xre|lative t|
|000024b0| 6f 20 74 68 65 20 6c 6f | 63 61 6c 20 64 6f 6d 61 |o the lo|cal doma|
|000024c0| 69 6e 2e 0a 58 49 66 20 | 6e 6f 20 5c 66 42 64 6f |in..XIf |no \fBdo|
|000024d0| 6d 61 69 6e 5c 66 50 20 | 65 6e 74 72 79 20 69 73 |main\fP |entry is|
|000024e0| 20 70 72 65 73 65 6e 74 | 2c 20 74 68 65 20 64 6f | present|, the do|
|000024f0| 6d 61 69 6e 20 69 73 20 | 64 65 74 65 72 6d 69 6e |main is |determin|
|00002500| 65 64 0a 58 66 72 6f 6d | 20 74 68 65 20 6c 6f 63 |ed.Xfrom| the loc|
|00002510| 61 6c 20 68 6f 73 74 20 | 6e 61 6d 65 20 72 65 74 |al host |name ret|
|00002520| 75 72 6e 65 64 20 62 79 | 0a 58 5c 66 49 67 65 74 |urned by|.X\fIget|
|00002530| 68 6f 73 74 6e 61 6d 65 | 5c 66 50 5c 7c 28 32 29 |hostname|\fP\|(2)|
|00002540| 3b 0a 58 74 68 65 20 64 | 6f 6d 61 69 6e 20 70 61 |;.Xthe d|omain pa|
|00002550| 72 74 20 69 73 20 74 61 | 6b 65 6e 20 74 6f 20 62 |rt is ta|ken to b|
|00002560| 65 20 65 76 65 72 79 74 | 68 69 6e 67 20 61 66 74 |e everyt|hing aft|
|00002570| 65 72 20 74 68 65 20 66 | 69 72 73 74 20 60 2e 27 |er the f|irst `.'|
|00002580| 2e 0a 58 46 69 6e 61 6c | 6c 79 2c 20 69 66 20 74 |..XFinal|ly, if t|
|00002590| 68 65 20 68 6f 73 74 20 | 6e 61 6d 65 20 64 6f 65 |he host |name doe|
|000025a0| 73 20 6e 6f 74 20 63 6f | 6e 74 61 69 6e 20 61 20 |s not co|ntain a |
|000025b0| 64 6f 6d 61 69 6e 20 70 | 61 72 74 2c 20 74 68 65 |domain p|art, the|
|000025c0| 20 72 6f 6f 74 0a 58 64 | 6f 6d 61 69 6e 20 69 73 | root.Xd|omain is|
|000025d0| 20 61 73 73 75 6d 65 64 | 2e 0a 58 2e 54 50 0a 58 | assumed|..X.TP.X|
|000025e0| 5c 66 42 73 65 61 72 63 | 68 5c 66 50 0a 58 53 65 |\fBsearc|h\fP.XSe|
|000025f0| 61 72 63 68 20 6c 69 73 | 74 20 66 6f 72 20 68 6f |arch lis|t for ho|
|00002600| 73 74 2d 6e 61 6d 65 20 | 6c 6f 6f 6b 75 70 2e 0a |st-name |lookup..|
|00002610| 58 54 68 65 20 73 65 61 | 72 63 68 20 6c 69 73 74 |XThe sea|rch list|
|00002620| 20 69 73 20 6e 6f 72 6d | 61 6c 6c 79 20 64 65 74 | is norm|ally det|
|00002630| 65 72 6d 69 6e 65 64 20 | 66 72 6f 6d 20 74 68 65 |ermined |from the|
|00002640| 20 6c 6f 63 61 6c 20 64 | 6f 6d 61 69 6e 20 6e 61 | local d|omain na|
|00002650| 6d 65 3b 0a 58 62 79 20 | 64 65 66 61 75 6c 74 2c |me;.Xby |default,|
|00002660| 20 69 74 20 62 65 67 69 | 6e 73 20 77 69 74 68 20 | it begi|ns with |
|00002670| 74 68 65 20 6c 6f 63 61 | 6c 20 64 6f 6d 61 69 6e |the loca|l domain|
|00002680| 20 6e 61 6d 65 2c 20 74 | 68 65 6e 20 73 75 63 63 | name, t|hen succ|
|00002690| 65 73 73 69 76 65 0a 58 | 70 61 72 65 6e 74 20 64 |essive.X|parent d|
|000026a0| 6f 6d 61 69 6e 73 20 74 | 68 61 74 20 68 61 76 65 |omains t|hat have|
|000026b0| 20 61 74 20 6c 65 61 73 | 74 20 74 77 6f 20 63 6f | at leas|t two co|
|000026c0| 6d 70 6f 6e 65 6e 74 73 | 20 69 6e 20 74 68 65 69 |mponents| in thei|
|000026d0| 72 20 6e 61 6d 65 73 2e | 0a 58 54 68 69 73 20 6d |r names.|.XThis m|
|000026e0| 61 79 20 62 65 20 63 68 | 61 6e 67 65 64 20 62 79 |ay be ch|anged by|
|000026f0| 20 6c 69 73 74 69 6e 67 | 20 74 68 65 20 64 65 73 | listing| the des|
|00002700| 69 72 65 64 20 64 6f 6d | 61 69 6e 20 73 65 61 72 |ired dom|ain sear|
|00002710| 63 68 20 70 61 74 68 0a | 58 66 6f 6c 6c 6f 77 69 |ch path.|Xfollowi|
|00002720| 6e 67 20 74 68 65 20 5c | 66 49 73 65 61 72 63 68 |ng the \|fIsearch|
|00002730| 5c 66 50 20 6b 65 79 77 | 6f 72 64 20 77 69 74 68 |\fP keyw|ord with|
|00002740| 20 73 70 61 63 65 73 20 | 6f 72 20 74 61 62 73 20 | spaces |or tabs |
|00002750| 73 65 70 61 72 61 74 69 | 6e 67 0a 58 74 68 65 20 |separati|ng.Xthe |
|00002760| 6e 61 6d 65 73 2e 0a 58 | 4d 6f 73 74 20 72 65 73 |names..X|Most res|
|00002770| 6f 6c 76 65 72 20 71 75 | 65 72 69 65 73 20 77 69 |olver qu|eries wi|
|00002780| 6c 6c 20 62 65 20 61 74 | 74 65 6d 70 74 65 64 20 |ll be at|tempted |
|00002790| 75 73 69 6e 67 20 65 61 | 63 68 20 63 6f 6d 70 6f |using ea|ch compo|
|000027a0| 6e 65 6e 74 0a 58 6f 66 | 20 74 68 65 20 73 65 61 |nent.Xof| the sea|
|000027b0| 72 63 68 20 70 61 74 68 | 20 69 6e 20 74 75 72 6e |rch path| in turn|
|000027c0| 20 75 6e 74 69 6c 20 61 | 20 6d 61 74 63 68 20 69 | until a| match i|
|000027d0| 73 20 66 6f 75 6e 64 2e | 0a 58 4e 6f 74 65 20 74 |s found.|.XNote t|
|000027e0| 68 61 74 20 74 68 69 73 | 20 70 72 6f 63 65 73 73 |hat this| process|
|000027f0| 20 6d 61 79 20 62 65 20 | 73 6c 6f 77 20 61 6e 64 | may be |slow and|
|00002800| 20 77 69 6c 6c 20 67 65 | 6e 65 72 61 74 65 20 61 | will ge|nerate a|
|00002810| 20 6c 6f 74 20 6f 66 20 | 6e 65 74 77 6f 72 6b 0a | lot of |network.|
|00002820| 58 74 72 61 66 66 69 63 | 20 69 66 20 74 68 65 20 |Xtraffic| if the |
|00002830| 73 65 72 76 65 72 73 20 | 66 6f 72 20 74 68 65 20 |servers |for the |
|00002840| 6c 69 73 74 65 64 20 64 | 6f 6d 61 69 6e 73 20 61 |listed d|omains a|
|00002850| 72 65 20 6e 6f 74 20 6c | 6f 63 61 6c 2c 0a 58 61 |re not l|ocal,.Xa|
|00002860| 6e 64 20 74 68 61 74 20 | 71 75 65 72 69 65 73 20 |nd that |queries |
|00002870| 77 69 6c 6c 20 74 69 6d | 65 20 6f 75 74 20 69 66 |will tim|e out if|
|00002880| 20 6e 6f 20 73 65 72 76 | 65 72 20 69 73 20 61 76 | no serv|er is av|
|00002890| 61 69 6c 61 62 6c 65 0a | 58 66 6f 72 20 6f 6e 65 |ailable.|Xfor one|
|000028a0| 20 6f 66 20 74 68 65 20 | 64 6f 6d 61 69 6e 73 2e | of the |domains.|
|000028b0| 0a 58 2e 49 50 0a 58 54 | 68 65 20 73 65 61 72 63 |.X.IP.XT|he searc|
|000028c0| 68 20 6c 69 73 74 20 69 | 73 20 63 75 72 72 65 6e |h list i|s curren|
|000028d0| 74 6c 79 20 6c 69 6d 69 | 74 65 64 20 74 6f 20 73 |tly limi|ted to s|
|000028e0| 69 78 20 64 6f 6d 61 69 | 6e 73 0a 58 77 69 74 68 |ix domai|ns.Xwith|
|000028f0| 20 61 20 74 6f 74 61 6c | 20 6f 66 20 32 35 36 20 | a total| of 256 |
|00002900| 63 68 61 72 61 63 74 65 | 72 73 2e 0a 58 2e 4c 50 |characte|rs..X.LP|
|00002910| 0a 58 54 68 65 20 5c 66 | 49 64 6f 6d 61 69 6e 5c |.XThe \f|Idomain\|
|00002920| 66 50 20 61 6e 64 20 5c | 66 49 73 65 61 72 63 68 |fP and \|fIsearch|
|00002930| 5c 66 50 20 6b 65 79 77 | 6f 72 64 73 20 61 72 65 |\fP keyw|ords are|
|00002940| 20 6d 75 74 75 61 6c 6c | 79 20 65 78 63 6c 75 73 | mutuall|y exclus|
|00002950| 69 76 65 2e 0a 58 49 66 | 20 6d 6f 72 65 20 74 68 |ive..XIf| more th|
|00002960| 61 6e 20 6f 6e 65 20 69 | 6e 73 74 61 6e 63 65 20 |an one i|nstance |
|00002970| 6f 66 20 74 68 65 73 65 | 20 6b 65 79 77 6f 72 64 |of these| keyword|
|00002980| 73 20 69 73 20 70 72 65 | 73 65 6e 74 2c 0a 58 74 |s is pre|sent,.Xt|
|00002990| 68 65 20 6c 61 73 74 20 | 69 6e 73 74 61 6e 63 65 |he last |instance|
|000029a0| 20 77 69 6c 6c 20 6f 76 | 65 72 72 69 64 65 2e 0a | will ov|erride..|
|000029b0| 58 2e 4c 50 0a 58 54 68 | 65 20 6b 65 79 77 6f 72 |X.LP.XTh|e keywor|
|000029c0| 64 20 61 6e 64 20 76 61 | 6c 75 65 20 6d 75 73 74 |d and va|lue must|
|000029d0| 20 61 70 70 65 61 72 20 | 6f 6e 20 61 20 73 69 6e | appear |on a sin|
|000029e0| 67 6c 65 20 6c 69 6e 65 | 2c 20 61 6e 64 20 74 68 |gle line|, and th|
|000029f0| 65 20 6b 65 79 77 6f 72 | 64 0a 58 28 65 2e 67 2e |e keywor|d.X(e.g.|
|00002a00| 20 5c 66 42 6e 61 6d 65 | 73 65 72 76 65 72 5c 66 | \fBname|server\f|
|00002a10| 50 29 20 6d 75 73 74 20 | 73 74 61 72 74 20 74 68 |P) must |start th|
|00002a20| 65 20 6c 69 6e 65 2e 20 | 20 54 68 65 20 76 61 6c |e line. | The val|
|00002a30| 75 65 20 66 6f 6c 6c 6f | 77 73 0a 58 74 68 65 20 |ue follo|ws.Xthe |
|00002a40| 6b 65 79 77 6f 72 64 2c | 20 73 65 70 61 72 61 74 |keyword,| separat|
|00002a50| 65 64 20 62 79 20 77 68 | 69 74 65 20 73 70 61 63 |ed by wh|ite spac|
|00002a60| 65 2e 0a 58 2e 53 48 20 | 46 49 4c 45 53 0a 58 2e |e..X.SH |FILES.X.|
|00002a70| 49 20 2f 65 74 63 2f 72 | 65 73 6f 6c 76 2e 63 6f |I /etc/r|esolv.co|
|00002a80| 6e 66 0a 58 2e 53 48 20 | 53 45 45 20 41 4c 53 4f |nf.X.SH |SEE ALSO|
|00002a90| 0a 58 67 65 74 68 6f 73 | 74 62 79 6e 61 6d 65 28 |.Xgethos|tbyname(|
|00002aa0| 33 4e 29 2c 20 72 65 73 | 6f 6c 76 65 72 28 33 29 |3N), res|olver(3)|
|00002ab0| 2c 20 68 6f 73 74 6e 61 | 6d 65 28 37 29 2c 20 6e |, hostna|me(7), n|
|00002ac0| 61 6d 65 64 28 38 29 0a | 58 2e 62 72 0a 58 4e 61 |amed(8).|X.br.XNa|
|00002ad0| 6d 65 20 53 65 72 76 65 | 72 20 4f 70 65 72 61 74 |me Serve|r Operat|
|00002ae0| 69 6f 6e 73 20 47 75 69 | 64 65 20 66 6f 72 20 42 |ions Gui|de for B|
|00002af0| 49 4e 44 0a 45 4e 44 2d | 6f 66 2d 6d 61 6e 2f 72 |IND.END-|of-man/r|
|00002b00| 65 73 6f 6c 76 65 72 2e | 35 0a 65 63 68 6f 20 78 |esolver.|5.echo x|
|00002b10| 20 2d 20 6d 61 6e 2f 6e | 61 6d 65 64 2e 38 0a 73 | - man/n|amed.8.s|
|00002b20| 65 64 20 27 73 2f 5e 58 | 2f 2f 27 20 3e 6d 61 6e |ed 's/^X|//' >man|
|00002b30| 2f 6e 61 6d 65 64 2e 38 | 20 3c 3c 20 27 45 4e 44 |/named.8| << 'END|
|00002b40| 2d 6f 66 2d 6d 61 6e 2f | 6e 61 6d 65 64 2e 38 27 |-of-man/|named.8'|
|00002b50| 0a 58 2e 5c 22 20 43 6f | 70 79 72 69 67 68 74 20 |.X.\" Co|pyright |
|00002b60| 28 63 29 20 31 39 38 35 | 20 54 68 65 20 52 65 67 |(c) 1985| The Reg|
|00002b70| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 55 6e 69 76 |ents of |the Univ|
|00002b80| 65 72 73 69 74 79 20 6f | 66 20 43 61 6c 69 66 6f |ersity o|f Califo|
|00002b90| 72 6e 69 61 2e 0a 58 2e | 5c 22 20 41 6c 6c 20 72 |rnia..X.|\" All r|
|00002ba0| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 0a |ights re|served..|
|00002bb0| 58 2e 5c 22 0a 58 2e 5c | 22 20 52 65 64 69 73 74 |X.\".X.\|" Redist|
|00002bc0| 72 69 62 75 74 69 6f 6e | 20 61 6e 64 20 75 73 65 |ribution| and use|
|00002bd0| 20 69 6e 20 73 6f 75 72 | 63 65 20 61 6e 64 20 62 | in sour|ce and b|
|00002be0| 69 6e 61 72 79 20 66 6f | 72 6d 73 20 61 72 65 20 |inary fo|rms are |
|00002bf0| 70 65 72 6d 69 74 74 65 | 64 0a 58 2e 5c 22 20 70 |permitte|d.X.\" p|
|00002c00| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|00002c10| 20 61 62 6f 76 65 20 63 | 6f 70 79 72 69 67 68 74 | above c|opyright|
|00002c20| 20 6e 6f 74 69 63 65 20 | 61 6e 64 20 74 68 69 73 | notice |and this|
|00002c30| 20 70 61 72 61 67 72 61 | 70 68 20 61 72 65 0a 58 | paragra|ph are.X|
|00002c40| 2e 5c 22 20 64 75 70 6c | 69 63 61 74 65 64 20 69 |.\" dupl|icated i|
|00002c50| 6e 20 61 6c 6c 20 73 75 | 63 68 20 66 6f 72 6d 73 |n all su|ch forms|
|00002c60| 20 61 6e 64 20 74 68 61 | 74 20 61 6e 79 20 64 6f | and tha|t any do|
|00002c70| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 2c 0a 58 2e 5c |cumentat|ion,.X.\|
|00002c80| 22 20 61 64 76 65 72 74 | 69 73 69 6e 67 20 6d 61 |" advert|ising ma|
|00002c90| 74 65 72 69 61 6c 73 2c | 20 61 6e 64 20 6f 74 68 |terials,| and oth|
|00002ca0| 65 72 20 6d 61 74 65 72 | 69 61 6c 73 20 72 65 6c |er mater|ials rel|
|00002cb0| 61 74 65 64 20 74 6f 20 | 73 75 63 68 0a 58 2e 5c |ated to |such.X.\|
|00002cc0| 22 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 61 |" distri|bution a|
|00002cd0| 6e 64 20 75 73 65 20 61 | 63 6b 6e 6f 77 6c 65 64 |nd use a|cknowled|
|00002ce0| 67 65 20 74 68 61 74 20 | 74 68 65 20 73 6f 66 74 |ge that |the soft|
|00002cf0| 77 61 72 65 20 77 61 73 | 20 64 65 76 65 6c 6f 70 |ware was| develop|
|00002d00| 65 64 0a 58 2e 5c 22 20 | 62 79 20 74 68 65 20 55 |ed.X.\" |by the U|
|00002d10| 6e 69 76 65 72 73 69 74 | 79 20 6f 66 20 43 61 6c |niversit|y of Cal|
|00002d20| 69 66 6f 72 6e 69 61 2c | 20 42 65 72 6b 65 6c 65 |ifornia,| Berkele|
|00002d30| 79 2e 20 20 54 68 65 20 | 6e 61 6d 65 20 6f 66 20 |y. The |name of |
|00002d40| 74 68 65 0a 58 2e 5c 22 | 20 55 6e 69 76 65 72 73 |the.X.\"| Univers|
|00002d50| 69 74 79 20 6d 61 79 20 | 6e 6f 74 20 62 65 20 75 |ity may |not be u|
|00002d60| 73 65 64 20 74 6f 20 65 | 6e 64 6f 72 73 65 20 6f |sed to e|ndorse o|
|00002d70| 72 20 70 72 6f 6d 6f 74 | 65 20 70 72 6f 64 75 63 |r promot|e produc|
|00002d80| 74 73 20 64 65 72 69 76 | 65 64 0a 58 2e 5c 22 20 |ts deriv|ed.X.\" |
|00002d90| 66 72 6f 6d 20 74 68 69 | 73 20 73 6f 66 74 77 61 |from thi|s softwa|
|00002da0| 72 65 20 77 69 74 68 6f | 75 74 20 73 70 65 63 69 |re witho|ut speci|
|00002db0| 66 69 63 20 70 72 69 6f | 72 20 77 72 69 74 74 65 |fic prio|r writte|
|00002dc0| 6e 20 70 65 72 6d 69 73 | 73 69 6f 6e 2e 0a 58 2e |n permis|sion..X.|
|00002dd0| 5c 22 20 54 48 49 53 20 | 53 4f 46 54 57 41 52 45 |\" THIS |SOFTWARE|
|00002de0| 20 49 53 20 50 52 4f 56 | 49 44 45 44 20 60 60 41 | IS PROV|IDED ``A|
|00002df0| 53 20 49 53 27 27 20 41 | 4e 44 20 57 49 54 48 4f |S IS'' A|ND WITHO|
|00002e00| 55 54 20 41 4e 59 20 45 | 58 50 52 45 53 53 20 4f |UT ANY E|XPRESS O|
|00002e10| 52 0a 58 2e 5c 22 20 49 | 4d 50 4c 49 45 44 20 57 |R.X.\" I|MPLIED W|
|00002e20| 41 52 52 41 4e 54 49 45 | 53 2c 20 49 4e 43 4c 55 |ARRANTIE|S, INCLU|
|00002e30| 44 49 4e 47 2c 20 57 49 | 54 48 4f 55 54 20 4c 49 |DING, WI|THOUT LI|
|00002e40| 4d 49 54 41 54 49 4f 4e | 2c 20 54 48 45 20 49 4d |MITATION|, THE IM|
|00002e50| 50 4c 49 45 44 0a 58 2e | 5c 22 20 57 41 52 52 41 |PLIED.X.|\" WARRA|
|00002e60| 4e 54 49 45 53 20 4f 46 | 20 4d 45 52 43 48 41 4e |NTIES OF| MERCHAN|
|00002e70| 54 41 42 49 4c 49 54 59 | 20 41 4e 44 20 46 49 54 |TABILITY| AND FIT|
|00002e80| 4e 45 53 53 20 46 4f 52 | 20 41 20 50 41 52 54 49 |NESS FOR| A PARTI|
|00002e90| 43 55 4c 41 52 20 50 55 | 52 50 4f 53 45 2e 0a 58 |CULAR PU|RPOSE..X|
|00002ea0| 2e 5c 22 0a 58 2e 5c 22 | 09 40 28 23 29 6e 61 6d |.\".X.\"|.@(#)nam|
|00002eb0| 65 64 2e 38 09 36 2e 36 | 20 28 42 65 72 6b 65 6c |ed.8.6.6| (Berkel|
|00002ec0| 65 79 29 20 32 2f 31 34 | 2f 38 39 0a 58 2e 5c 22 |ey) 2/14|/89.X.\"|
|00002ed0| 0a 58 2e 54 48 20 4e 41 | 4d 45 44 20 38 20 22 46 |.X.TH NA|MED 8 "F|
|00002ee0| 65 62 72 75 61 72 79 20 | 31 34 2c 20 31 39 38 39 |ebruary |14, 1989|
|00002ef0| 22 0a 58 2e 55 43 20 34 | 0a 58 2e 53 48 20 4e 41 |".X.UC 4|.X.SH NA|
|00002f00| 4d 45 0a 58 6e 61 6d 65 | 64 20 5c 2d 20 49 6e 74 |ME.Xname|d \- Int|
|00002f10| 65 72 6e 65 74 20 64 6f | 6d 61 69 6e 20 6e 61 6d |ernet do|main nam|
|00002f20| 65 20 73 65 72 76 65 72 | 0a 58 2e 53 48 20 53 59 |e server|.X.SH SY|
|00002f30| 4e 4f 50 53 49 53 0a 58 | 2e 42 20 6e 61 6d 65 64 |NOPSIS.X|.B named|
|00002f40| 0a 58 5b 0a 58 2e 42 20 | 5c 2d 64 0a 58 2e 49 20 |.X[.X.B |\-d.X.I |
|00002f50| 64 65 62 75 67 6c 65 76 | 65 6c 0a 58 5d 20 5b 0a |debuglev|el.X] [.|
|00002f60| 58 2e 42 20 5c 2d 70 0a | 58 2e 49 20 70 6f 72 74 |X.B \-p.|X.I port|
|00002f70| 23 0a 58 5d 20 5b 7b 5c | 2d 62 7d 0a 58 2e 49 20 |#.X] [{\|-b}.X.I |
|00002f80| 62 6f 6f 74 66 69 6c 65 | 0a 58 5d 0a 58 2e 53 48 |bootfile|.X].X.SH|
|00002f90| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 0a 58 2e 49 | DESCRIP|TION.X.I|
|00002fa0| 20 4e 61 6d 65 64 0a 58 | 69 73 20 74 68 65 20 49 | Named.X|is the I|
|00002fb0| 6e 74 65 72 6e 65 74 20 | 64 6f 6d 61 69 6e 20 6e |nternet |domain n|
|00002fc0| 61 6d 65 20 73 65 72 76 | 65 72 2e 0a 58 53 65 65 |ame serv|er..XSee|
|00002fd0| 20 52 46 43 38 38 33 20 | 66 6f 72 20 6d 6f 72 65 | RFC883 |for more|
|00002fe0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00002ff0| 74 68 65 20 49 6e 74 65 | 72 6e 65 74 20 6e 61 6d |the Inte|rnet nam|
|00003000| 65 2d 64 6f 6d 61 69 6e | 20 73 79 73 74 65 6d 2e |e-domain| system.|
|00003010| 0a 58 57 69 74 68 6f 75 | 74 20 61 6e 79 20 61 72 |.XWithou|t any ar|
|00003020| 67 75 6d 65 6e 74 73 2c | 0a 58 2e 49 20 6e 61 6d |guments,|.X.I nam|
|00003030| 65 64 0a 58 77 69 6c 6c | 20 72 65 61 64 20 74 68 |ed.Xwill| read th|
|00003040| 65 20 64 65 66 61 75 6c | 74 20 62 6f 6f 74 20 66 |e defaul|t boot f|
|00003050| 69 6c 65 0a 58 2e 49 52 | 20 2f 65 74 63 2f 6e 61 |ile.X.IR| /etc/na|
|00003060| 6d 65 64 2e 62 6f 6f 74 | 20 2c 0a 58 72 65 61 64 |med.boot| ,.Xread|
|00003070| 20 61 6e 79 20 69 6e 69 | 74 69 61 6c 20 64 61 74 | any ini|tial dat|
|00003080| 61 20 61 6e 64 20 6c 69 | 73 74 65 6e 20 66 6f 72 |a and li|sten for|
|00003090| 20 71 75 65 72 69 65 73 | 2e 0a 58 2e 50 50 0a 58 | queries|..X.PP.X|
|000030a0| 4f 70 74 69 6f 6e 73 20 | 61 72 65 3a 0a 58 2e 54 |Options |are:.X.T|
|000030b0| 50 0a 58 2e 42 20 5c 2d | 64 0a 58 50 72 69 6e 74 |P.X.B \-|d.XPrint|
|000030c0| 20 64 65 62 75 67 67 69 | 6e 67 20 69 6e 66 6f 72 | debuggi|ng infor|
|000030d0| 6d 61 74 69 6f 6e 2e 0a | 58 41 20 6e 75 6d 62 65 |mation..|XA numbe|
|000030e0| 72 20 61 66 74 65 72 20 | 74 68 65 20 60 60 64 27 |r after |the ``d'|
|000030f0| 27 20 64 65 74 65 72 6d | 69 6e 65 73 20 74 68 65 |' determ|ines the|
|00003100| 20 6c 65 76 65 6c 20 6f | 66 0a 58 6d 65 73 73 61 | level o|f.Xmessa|
|00003110| 67 65 73 20 70 72 69 6e | 74 65 64 2e 0a 58 2e 54 |ges prin|ted..X.T|
|00003120| 50 0a 58 2e 42 20 5c 2d | 70 0a 58 55 73 65 20 61 |P.X.B \-|p.XUse a|
|00003130| 20 64 69 66 66 65 72 65 | 6e 74 20 70 6f 72 74 20 | differe|nt port |
|00003140| 6e 75 6d 62 65 72 2e 20 | 20 54 68 65 20 64 65 66 |number. | The def|
|00003150| 61 75 6c 74 20 69 73 20 | 74 68 65 20 73 74 61 6e |ault is |the stan|
|00003160| 64 61 72 64 20 70 6f 72 | 74 20 6e 75 6d 62 65 72 |dard por|t number|
|00003170| 0a 58 61 73 20 6c 69 73 | 74 65 64 20 69 6e 20 2f |.Xas lis|ted in /|
|00003180| 65 74 63 2f 73 65 72 76 | 69 63 65 73 2e 0a 58 2e |etc/serv|ices..X.|
|00003190| 54 50 0a 58 2e 42 20 5c | 2d 62 0a 58 55 73 65 20 |TP.X.B \|-b.XUse |
|000031a0| 61 6e 20 61 6c 74 65 72 | 6e 61 74 65 20 62 6f 6f |an alter|nate boo|
|000031b0| 74 20 66 69 6c 65 2e 20 | 20 54 68 69 73 20 69 73 |t file. | This is|
|000031c0| 20 6f 70 74 69 6f 6e 61 | 6c 20 61 6e 64 20 61 6c | optiona|l and al|
|000031d0| 6c 6f 77 73 20 79 6f 75 | 20 74 6f 0a 58 73 70 65 |lows you| to.Xspe|
|000031e0| 63 69 66 79 20 61 20 66 | 69 6c 65 20 77 69 74 68 |cify a f|ile with|
|000031f0| 20 61 20 6c 65 61 64 69 | 6e 67 20 64 61 73 68 2e | a leadi|ng dash.|
|00003200| 0a 58 2e 50 50 0a 58 41 | 6e 79 20 61 64 64 69 74 |.X.PP.XA|ny addit|
|00003210| 69 6f 6e 61 6c 20 61 72 | 67 75 6d 65 6e 74 20 69 |ional ar|gument i|
|00003220| 73 20 74 61 6b 65 6e 20 | 61 73 20 74 68 65 20 6e |s taken |as the n|
|00003230| 61 6d 65 20 6f 66 20 74 | 68 65 20 62 6f 6f 74 20 |ame of t|he boot |
|00003240| 66 69 6c 65 2e 0a 58 54 | 68 65 20 62 6f 6f 74 20 |file..XT|he boot |
|00003250| 66 69 6c 65 20 63 6f 6e | 74 61 69 6e 73 20 69 6e |file con|tains in|
|00003260| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|00003270| 77 68 65 72 65 20 74 68 | 65 20 6e 61 6d 65 20 73 |where th|e name s|
|00003280| 65 72 76 65 72 20 69 73 | 20 74 6f 20 67 65 74 0a |erver is| to get.|
|00003290| 58 69 74 73 20 69 6e 69 | 74 69 61 6c 20 64 61 74 |Xits ini|tial dat|
|000032a0| 61 2e 20 20 49 66 20 6d | 75 6c 74 69 70 6c 65 20 |a. If m|ultiple |
|000032b0| 62 6f 6f 74 20 66 69 6c | 65 73 20 61 72 65 20 73 |boot fil|es are s|
|000032c0| 70 65 63 69 66 69 65 64 | 2c 20 6f 6e 6c 79 20 74 |pecified|, only t|
|000032d0| 68 65 20 6c 61 73 74 0a | 58 69 73 20 75 73 65 64 |he last.|Xis used|
|000032e0| 2e 0a 58 4c 69 6e 65 73 | 20 69 6e 20 74 68 65 20 |..XLines| in the |
|000032f0| 62 6f 6f 74 20 66 69 6c | 65 20 63 61 6e 6e 6f 74 |boot fil|e cannot|
|00003300| 20 62 65 20 63 6f 6e 74 | 69 6e 75 65 64 20 6f 6e | be cont|inued on|
|00003310| 20 73 75 62 73 65 71 75 | 65 6e 74 20 6c 69 6e 65 | subsequ|ent line|
|00003320| 73 2e 0a 58 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |s..XThe |followin|
|00003330| 67 20 69 73 20 61 20 73 | 6d 61 6c 6c 20 65 78 61 |g is a s|mall exa|
|00003340| 6d 70 6c 65 3a 0a 58 2e | 69 6e 20 2b 32 6d 0a 58 |mple:.X.|in +2m.X|
|00003350| 2e 6e 66 0a 58 0a 58 3b | 0a 58 3b 09 62 6f 6f 74 |.nf.X.X;|.X;.boot|
|00003360| 20 66 69 6c 65 20 66 6f | 72 20 6e 61 6d 65 20 73 | file fo|r name s|
|00003370| 65 72 76 65 72 0a 58 3b | 0a 58 64 69 72 65 63 74 |erver.X;|.Xdirect|
|00003380| 6f 72 79 09 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 64 |ory./usr|/local/d|
|00003390| 6f 6d 61 69 6e 0a 58 0a | 58 2e 74 61 20 5c 77 27 |omain.X.|X.ta \w'|
|000033a0| 66 6f 72 77 61 72 64 65 | 72 73 5c 20 27 75 20 2b |forwarde|rs\ 'u +|
|000033b0| 5c 77 27 36 2e 33 32 2e | 31 32 38 2e 49 4e 2d 41 |\w'6.32.|128.IN-A|
|000033c0| 44 44 52 2e 41 52 50 41 | 5c 20 27 75 20 2b 5c 77 |DDR.ARPA|\ 'u +\w|
|000033d0| 27 31 32 38 2e 33 32 2e | 31 33 37 2e 38 20 31 32 |'128.32.|137.8 12|
|000033e0| 38 2e 33 32 2e 31 33 37 | 2e 33 5c 20 27 75 0a 58 |8.32.137|.3\ 'u.X|
|000033f0| 3b 20 74 79 70 65 09 64 | 6f 6d 61 69 6e 09 73 6f |; type.d|omain.so|
|00003400| 75 72 63 65 20 68 6f 73 | 74 2f 66 69 6c 65 09 09 |urce hos|t/file..|
|00003410| 09 09 62 61 63 6b 75 70 | 20 66 69 6c 65 0a 58 0a |..backup| file.X.|
|00003420| 58 63 61 63 68 65 09 2e | 09 09 09 09 09 09 09 72 |Xcache..|.......r|
|00003430| 6f 6f 74 2e 63 61 63 68 | 65 0a 58 70 72 69 6d 61 |oot.cach|e.Xprima|
|00003440| 72 79 09 42 65 72 6b 65 | 6c 65 79 2e 45 44 55 09 |ry.Berke|ley.EDU.|
|00003450| 62 65 72 6b 65 6c 65 79 | 2e 65 64 75 2e 7a 6f 6e |berkeley|.edu.zon|
|00003460| 65 0a 58 70 72 69 6d 61 | 72 79 09 33 32 2e 31 32 |e.Xprima|ry.32.12|
|00003470| 38 2e 49 4e 2d 41 44 44 | 52 2e 41 52 50 41 09 75 |8.IN-ADD|R.ARPA.u|
|00003480| 63 62 68 6f 73 74 73 2e | 72 65 76 0a 58 73 65 63 |cbhosts.|rev.Xsec|
|00003490| 6f 6e 64 61 72 79 09 43 | 43 2e 42 65 72 6b 65 6c |ondary.C|C.Berkel|
|000034a0| 65 79 2e 45 44 55 09 31 | 32 38 2e 33 32 2e 31 33 |ey.EDU.1|28.32.13|
|000034b0| 37 2e 38 20 31 32 38 2e | 33 32 2e 31 33 37 2e 33 |7.8 128.|32.137.3|
|000034c0| 09 63 63 2e 7a 6f 6e 65 | 2e 62 61 6b 0a 58 73 65 |.cc.zone|.bak.Xse|
|000034d0| 63 6f 6e 64 61 72 79 09 | 36 2e 33 32 2e 31 32 38 |condary.|6.32.128|
|000034e0| 2e 49 4e 2d 41 44 44 52 | 2e 41 52 50 41 09 31 32 |.IN-ADDR|.ARPA.12|
|000034f0| 38 2e 33 32 2e 31 33 37 | 2e 38 20 31 32 38 2e 33 |8.32.137|.8 128.3|
|00003500| 32 2e 31 33 37 2e 33 09 | 63 63 2e 72 65 76 2e 62 |2.137.3.|cc.rev.b|
|00003510| 61 6b 0a 58 70 72 69 6d | 61 72 79 09 30 2e 30 2e |ak.Xprim|ary.0.0.|
|00003520| 31 32 37 2e 49 4e 2d 41 | 44 44 52 2e 41 52 50 41 |127.IN-A|DDR.ARPA|
|00003530| 09 09 09 09 09 6c 6f 63 | 61 6c 68 6f 73 74 2e 72 |.....loc|alhost.r|
|00003540| 65 76 0a 58 66 6f 72 77 | 61 72 64 65 72 73 09 31 |ev.Xforw|arders.1|
|00003550| 30 2e 30 2e 30 2e 37 38 | 20 31 30 2e 32 2e 30 2e |0.0.0.78| 10.2.0.|
|00003560| 37 38 0a 58 3b 20 73 6c | 61 76 65 0a 58 0a 58 2e |78.X; sl|ave.X.X.|
|00003570| 44 54 0a 58 2e 66 69 0a | 58 2e 69 6e 0a 58 54 68 |DT.X.fi.|X.in.XTh|
|00003580| 65 20 60 60 64 69 72 65 | 63 74 6f 72 79 27 27 20 |e ``dire|ctory'' |
|00003590| 6c 69 6e 65 20 63 61 75 | 73 65 73 20 74 68 65 20 |line cau|ses the |
|000035a0| 73 65 72 76 65 72 20 74 | 6f 20 63 68 61 6e 67 65 |server t|o change|
|000035b0| 20 69 74 73 0a 58 77 6f | 72 6b 69 6e 67 20 64 69 | its.Xwo|rking di|
|000035c0| 72 65 63 74 6f 72 79 20 | 74 6f 20 74 68 65 20 64 |rectory |to the d|
|000035d0| 69 72 65 63 74 6f 72 79 | 20 73 70 65 63 69 66 69 |irectory| specifi|
|000035e0| 65 64 2e 20 20 54 68 69 | 73 20 63 61 6e 0a 58 62 |ed. Thi|s can.Xb|
|000035f0| 65 20 69 6d 70 6f 72 74 | 61 6e 74 20 66 6f 72 20 |e import|ant for |
|00003600| 74 68 65 20 63 6f 72 72 | 65 63 74 20 70 72 6f 63 |the corr|ect proc|
|00003610| 65 73 73 69 6e 67 20 6f | 66 20 24 49 4e 43 4c 55 |essing o|f $INCLU|
|00003620| 44 45 20 66 69 6c 65 73 | 0a 58 69 6e 20 70 72 69 |DE files|.Xin pri|
|00003630| 6d 61 72 79 20 7a 6f 6e | 65 20 66 69 6c 65 73 2e |mary zon|e files.|
|00003640| 0a 58 2e 4c 50 0a 58 54 | 68 65 20 60 60 63 61 63 |.X.LP.XT|he ``cac|
|00003650| 68 65 27 27 20 6c 69 6e | 65 20 73 70 65 63 69 66 |he'' lin|e specif|
|00003660| 69 65 73 20 74 68 61 74 | 20 64 61 74 61 20 69 6e |ies that| data in|
|00003670| 20 60 60 72 6f 6f 74 2e | 63 61 63 68 65 27 27 20 | ``root.|cache'' |
|00003680| 69 73 20 74 6f 20 62 65 | 0a 58 70 6c 61 63 65 64 |is to be|.Xplaced|
|00003690| 20 69 6e 20 74 68 65 20 | 62 61 63 6b 75 70 20 63 | in the |backup c|
|000036a0| 61 63 68 65 2e 0a 58 49 | 74 73 20 6d 61 69 6e 20 |ache..XI|ts main |
|000036b0| 75 73 65 20 69 73 20 74 | 6f 20 73 70 65 63 69 66 |use is t|o specif|
|000036c0| 79 20 64 61 74 61 20 73 | 75 63 68 20 61 73 20 6c |y data s|uch as l|
|000036d0| 6f 63 61 74 69 6f 6e 73 | 20 6f 66 20 72 6f 6f 74 |ocations| of root|
|000036e0| 20 64 6f 6d 61 69 6e 20 | 73 65 72 76 65 72 73 2e | domain |servers.|
|000036f0| 0a 58 54 68 69 73 20 63 | 61 63 68 65 20 69 73 20 |.XThis c|ache is |
|00003700| 6e 6f 74 20 75 73 65 64 | 20 64 75 72 69 6e 67 20 |not used| during |
|00003710| 6e 6f 72 6d 61 6c 20 6f | 70 65 72 61 74 69 6f 6e |normal o|peration|
|00003720| 2c 0a 58 62 75 74 20 69 | 73 20 75 73 65 64 20 61 |,.Xbut i|s used a|
|00003730| 73 20 60 60 68 69 6e 74 | 73 27 27 20 74 6f 20 66 |s ``hint|s'' to f|
|00003740| 69 6e 64 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ind the |current |
|00003750| 72 6f 6f 74 20 73 65 72 | 76 65 72 73 2e 0a 58 54 |root ser|vers..XT|
|00003760| 68 65 20 66 69 6c 65 20 | 60 60 72 6f 6f 74 2e 63 |he file |``root.c|
|00003770| 61 63 68 65 27 27 20 69 | 73 20 69 6e 20 74 68 65 |ache'' i|s in the|
|00003780| 20 73 61 6d 65 20 66 6f | 72 6d 61 74 20 61 73 20 | same fo|rmat as |
|00003790| 60 60 62 65 72 6b 65 6c | 65 79 2e 65 64 75 2e 7a |``berkel|ey.edu.z|
|000037a0| 6f 6e 65 27 27 2e 0a 58 | 54 68 65 72 65 20 63 61 |one''..X|There ca|
|000037b0| 6e 20 62 65 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |n be mor|e than o|
|000037c0| 6e 65 20 60 60 63 61 63 | 68 65 27 27 20 66 69 6c |ne ``cac|he'' fil|
|000037d0| 65 20 73 70 65 63 69 66 | 69 65 64 2e 0a 58 2e 5c |e specif|ied..X.\|
|000037e0| 22 54 68 65 20 66 69 72 | 73 74 20 73 75 63 68 20 |"The fir|st such |
|000037f0| 66 69 6c 65 20 77 69 6c | 6c 20 62 65 20 75 70 64 |file wil|l be upd|
|00003800| 61 74 65 64 20 75 6e 64 | 65 72 20 63 65 72 74 61 |ated und|er certa|
|00003810| 69 6e 20 63 6f 6e 64 69 | 74 69 6f 6e 73 20 74 6f |in condi|tions to|
|00003820| 20 73 6e 61 70 73 68 6f | 74 20 74 68 65 0a 58 2e | snapsho|t the.X.|
|00003830| 5c 22 63 61 63 68 65 20 | 28 73 65 65 20 53 49 47 |\"cache |(see SIG|
|00003840| 51 55 49 54 20 62 65 6c | 6f 77 29 2e 0a 58 2e 5c |QUIT bel|ow)..X.\|
|00003850| 22 54 68 65 20 63 61 63 | 68 65 20 6c 69 6e 65 20 |"The cac|he line |
|00003860| 63 61 6e 20 61 6c 73 6f | 20 68 61 76 65 20 61 6e |can also| have an|
|00003870| 20 6f 70 74 69 6f 6e 61 | 6c 20 69 6e 74 65 72 76 | optiona|l interv|
|00003880| 61 6c 20 61 72 67 75 6d | 65 6e 74 20 61 66 74 65 |al argum|ent afte|
|00003890| 72 0a 58 2e 5c 22 74 68 | 65 20 66 69 6c 65 6e 61 |r.X.\"th|e filena|
|000038a0| 6d 65 2e 0a 58 2e 5c 22 | 49 66 20 61 6e 20 69 6e |me..X.\"|If an in|
|000038b0| 74 65 72 76 61 6c 20 69 | 73 20 6c 69 73 74 65 64 |terval i|s listed|
|000038c0| 2c 0a 58 2e 5c 22 69 74 | 20 72 65 71 75 65 73 74 |,.X.\"it| request|
|000038d0| 73 20 74 68 65 20 6e 61 | 6d 65 73 65 72 76 65 72 |s the na|meserver|
|000038e0| 20 74 6f 20 64 75 6d 70 | 20 74 68 65 20 63 61 63 | to dump| the cac|
|000038f0| 68 65 20 63 6f 6e 74 65 | 6e 74 73 0a 58 2e 5c 22 |he conte|nts.X.\"|
|00003900| 61 74 20 74 68 61 74 20 | 69 6e 74 65 72 76 61 6c |at that |interval|
|00003910| 20 28 69 6e 20 73 65 63 | 6f 6e 64 73 29 2e 0a 58 | (in sec|onds)..X|
|00003920| 2e 5c 22 54 68 65 20 65 | 78 61 6d 70 6c 65 20 61 |.\"The e|xample a|
|00003930| 62 6f 76 65 20 72 65 71 | 75 65 73 74 73 20 74 68 |bove req|uests th|
|00003940| 65 20 6e 61 6d 65 73 65 | 72 76 65 72 20 74 6f 20 |e namese|rver to |
|00003950| 64 75 6d 70 20 74 68 65 | 20 63 61 63 68 65 20 63 |dump the| cache c|
|00003960| 6f 6e 74 65 6e 74 0a 58 | 2e 5c 22 65 76 65 72 79 |ontent.X|.\"every|
|00003970| 20 33 36 30 30 20 73 65 | 63 6f 6e 64 73 20 28 6f | 3600 se|conds (o|
|00003980| 6e 63 65 20 61 6e 20 68 | 6f 75 72 29 2e 0a 58 2e |nce an h|our)..X.|
|00003990| 5c 22 54 68 65 20 75 73 | 65 20 6f 66 20 61 75 74 |\"The us|e of aut|
|000039a0| 6f 6d 61 74 69 63 20 63 | 61 63 68 65 20 66 69 6c |omatic c|ache fil|
|000039b0| 65 20 75 70 64 61 74 65 | 73 20 69 73 20 6e 6f 74 |e update|s is not|
|000039c0| 20 63 75 72 72 65 6e 74 | 6c 79 20 72 65 63 6f 6d | current|ly recom|
|000039d0| 6d 65 6e 64 65 64 0a 58 | 2e 5c 22 62 65 63 61 75 |mended.X|.\"becau|
|000039e0| 73 65 20 6f 66 20 74 68 | 65 20 77 61 79 20 74 68 |se of th|e way th|
|000039f0| 65 20 63 61 63 68 65 20 | 69 73 20 63 75 72 72 65 |e cache |is curre|
|00003a00| 6e 74 6c 79 20 6d 61 6e | 61 67 65 64 20 62 79 20 |ntly man|aged by |
|00003a10| 74 68 65 20 73 65 72 76 | 65 72 3b 0a 58 2e 5c 22 |the serv|er;.X.\"|
|00003a20| 61 6c 74 68 6f 75 67 68 | 20 74 68 65 20 65 6e 74 |although| the ent|
|00003a30| 69 72 65 20 63 61 63 68 | 65 20 77 69 6c 6c 20 62 |ire cach|e will b|
|00003a40| 65 20 64 75 6d 70 65 64 | 20 66 6f 72 20 6c 61 74 |e dumped| for lat|
|00003a50| 65 72 20 72 65 6c 6f 61 | 64 69 6e 67 2c 0a 58 2e |er reloa|ding,.X.|
|00003a60| 5c 22 6d 6f 73 74 20 6f | 66 20 74 68 65 20 63 61 |\"most o|f the ca|
|00003a70| 63 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 77 69 6c |che cont|ents wil|
|00003a80| 6c 20 62 65 20 69 67 6e | 6f 72 65 64 20 77 68 65 |l be ign|ored whe|
|00003a90| 6e 20 72 65 6c 6f 61 64 | 65 64 2e 0a 58 2e 5c 22 |n reload|ed..X.\"|
|00003aa0| 54 68 65 20 65 78 61 63 | 74 20 64 75 6d 70 20 69 |The exac|t dump i|
|00003ab0| 6e 74 65 72 76 61 6c 20 | 77 69 6c 6c 20 76 61 72 |nterval |will var|
|00003ac0| 79 0a 58 2e 5c 22 62 61 | 73 65 64 20 6f 6e 20 74 |y.X.\"ba|sed on t|
|00003ad0| 68 65 20 6d 69 6e 69 6d | 75 6d 20 6d 61 69 6e 74 |he minim|um maint|
|00003ae0| 65 6e 63 65 20 69 6e 74 | 65 72 76 61 6c 20 74 69 |ence int|erval ti|
|00003af0| 6d 65 20 77 68 69 63 68 | 20 69 73 20 74 79 70 69 |me which| is typi|
|00003b00| 63 61 6c 6c 79 20 61 62 | 6f 75 74 0a 58 2e 5c 22 |cally ab|out.X.\"|
|00003b10| 35 20 6d 69 6e 75 74 65 | 73 2e 0a 58 54 68 65 20 |5 minute|s..XThe |
|00003b20| 63 61 63 68 65 20 66 69 | 6c 65 73 20 61 72 65 20 |cache fi|les are |
|00003b30| 70 72 6f 63 65 73 73 65 | 64 20 69 6e 20 73 75 63 |processe|d in suc|
|00003b40| 68 20 61 20 77 61 79 20 | 61 73 20 74 6f 20 70 72 |h a way |as to pr|
|00003b50| 65 73 65 72 76 65 20 74 | 68 65 0a 58 74 69 6d 65 |eserve t|he.Xtime|
|00003b60| 2d 74 6f 2d 6c 69 76 65 | 27 73 0a 58 6f 66 20 64 |-to-live|'s.Xof d|
|00003b70| 61 74 61 20 64 75 6d 70 | 65 64 20 6f 75 74 2e 20 |ata dump|ed out. |
|00003b80| 20 44 61 74 61 20 66 6f | 72 20 74 68 65 20 72 6f | Data fo|r the ro|
|00003b90| 6f 74 20 6e 61 6d 65 73 | 65 72 76 65 72 73 20 69 |ot names|ervers i|
|00003ba0| 73 20 6b 65 70 74 20 61 | 72 74 69 66 69 63 69 61 |s kept a|rtificia|
|00003bb0| 6c 6c 79 0a 58 76 61 6c | 69 64 20 69 66 20 6e 65 |lly.Xval|id if ne|
|00003bc0| 63 65 73 73 61 72 79 2e | 0a 58 2e 4c 50 0a 58 54 |cessary.|.X.LP.XT|
|00003bd0| 68 65 20 66 69 72 73 74 | 20 60 60 70 72 69 6d 61 |he first| ``prima|
|00003be0| 72 79 27 27 20 6c 69 6e | 65 20 73 74 61 74 65 73 |ry'' lin|e states|
|00003bf0| 20 74 68 61 74 20 74 68 | 65 20 66 69 6c 65 20 60 | that th|e file `|
|00003c00| 60 62 65 72 6b 65 6c 65 | 79 2e 65 64 75 2e 7a 6f |`berkele|y.edu.zo|
|00003c10| 6e 65 27 27 20 63 6f 6e | 74 61 69 6e 73 0a 58 61 |ne'' con|tains.Xa|
|00003c20| 75 74 68 6f 72 69 74 61 | 74 69 76 65 20 64 61 74 |uthorita|tive dat|
|00003c30| 61 20 66 6f 72 20 74 68 | 65 20 60 60 42 65 72 6b |a for th|e ``Berk|
|00003c40| 65 6c 65 79 2e 45 44 55 | 27 27 20 7a 6f 6e 65 2e |eley.EDU|'' zone.|
|00003c50| 0a 58 54 68 65 20 66 69 | 6c 65 20 60 60 62 65 72 |.XThe fi|le ``ber|
|00003c60| 6b 65 6c 65 79 2e 65 64 | 75 2e 7a 6f 6e 65 27 27 |keley.ed|u.zone''|
|00003c70| 0a 58 63 6f 6e 74 61 69 | 6e 73 20 64 61 74 61 20 |.Xcontai|ns data |
|00003c80| 69 6e 20 74 68 65 20 6d | 61 73 74 65 72 20 66 69 |in the m|aster fi|
|00003c90| 6c 65 20 66 6f 72 6d 61 | 74 20 64 65 73 63 72 69 |le forma|t descri|
|00003ca0| 62 65 64 20 69 6e 20 52 | 46 43 38 38 33 2e 0a 58 |bed in R|FC883..X|
|00003cb0| 41 6c 6c 20 64 6f 6d 61 | 69 6e 20 6e 61 6d 65 73 |All doma|in names|
|00003cc0| 20 61 72 65 20 72 65 6c | 61 74 69 76 65 20 74 6f | are rel|ative to|
|00003cd0| 20 74 68 65 20 6f 72 69 | 67 69 6e 2c 20 69 6e 20 | the ori|gin, in |
|00003ce0| 74 68 69 73 0a 58 63 61 | 73 65 2c 20 60 60 42 65 |this.Xca|se, ``Be|
|00003cf0| 72 6b 65 6c 65 79 2e 45 | 44 55 27 27 20 28 73 65 |rkeley.E|DU'' (se|
|00003d00| 65 20 62 65 6c 6f 77 20 | 66 6f 72 20 61 20 6d 6f |e below |for a mo|
|00003d10| 72 65 20 64 65 74 61 69 | 6c 65 64 20 64 65 73 63 |re detai|led desc|
|00003d20| 72 69 70 74 69 6f 6e 29 | 2e 0a 58 54 68 65 20 73 |ription)|..XThe s|
|00003d30| 65 63 6f 6e 64 20 60 60 | 70 72 69 6d 61 72 79 27 |econd ``|primary'|
|00003d40| 27 20 6c 69 6e 65 20 73 | 74 61 74 65 73 20 74 68 |' line s|tates th|
|00003d50| 61 74 20 74 68 65 20 66 | 69 6c 65 20 60 60 75 63 |at the f|ile ``uc|
|00003d60| 62 68 6f 73 74 73 2e 72 | 65 76 27 27 20 63 6f 6e |bhosts.r|ev'' con|
|00003d70| 74 61 69 6e 73 0a 58 61 | 75 74 68 6f 72 69 74 61 |tains.Xa|uthorita|
|00003d80| 74 69 76 65 20 64 61 74 | 61 20 66 6f 72 20 74 68 |tive dat|a for th|
|00003d90| 65 20 64 6f 6d 61 69 6e | 20 60 60 33 32 2e 31 32 |e domain| ``32.12|
|00003da0| 38 2e 49 4e 2d 41 44 44 | 52 2e 41 52 50 41 2c 27 |8.IN-ADD|R.ARPA,'|
|00003db0| 27 20 77 68 69 63 68 20 | 69 73 20 75 73 65 64 0a |' which |is used.|
|00003dc0| 58 74 6f 20 74 72 61 6e | 73 6c 61 74 65 20 61 64 |Xto tran|slate ad|
|00003dd0| 64 72 65 73 73 65 73 20 | 69 6e 20 6e 65 74 77 6f |dresses |in netwo|
|00003de0| 72 6b 20 31 32 38 2e 33 | 32 20 74 6f 20 68 6f 73 |rk 128.3|2 to hos|
|00003df0| 74 6e 61 6d 65 73 2e 0a | 58 45 61 63 68 20 6d 61 |tnames..|XEach ma|
|00003e00| 73 74 65 72 20 66 69 6c | 65 20 73 68 6f 75 6c 64 |ster fil|e should|
|00003e10| 20 62 65 67 69 6e 20 77 | 69 74 68 20 61 6e 20 53 | begin w|ith an S|
|00003e20| 4f 41 20 72 65 63 6f 72 | 64 20 66 6f 72 20 74 68 |OA recor|d for th|
|00003e30| 65 20 7a 6f 6e 65 0a 58 | 28 73 65 65 20 62 65 6c |e zone.X|(see bel|
|00003e40| 6f 77 29 2e 0a 58 2e 4c | 50 0a 58 54 68 65 20 66 |ow)..X.L|P.XThe f|
|00003e50| 69 72 73 74 20 60 60 73 | 65 63 6f 6e 64 61 72 79 |irst ``s|econdary|
|00003e60| 27 27 20 6c 69 6e 65 20 | 73 70 65 63 69 66 69 65 |'' line |specifie|
|00003e70| 73 20 74 68 61 74 20 61 | 6c 6c 20 61 75 74 68 6f |s that a|ll autho|
|00003e80| 72 69 74 61 74 69 76 65 | 20 64 61 74 61 0a 58 75 |ritative| data.Xu|
|00003e90| 6e 64 65 72 20 60 60 43 | 43 2e 42 65 72 6b 65 6c |nder ``C|C.Berkel|
|00003ea0| 65 79 2e 45 44 55 27 27 | 20 69 73 20 74 6f 20 62 |ey.EDU''| is to b|
|00003eb0| 65 20 74 72 61 6e 73 66 | 65 72 72 65 64 20 66 72 |e transf|erred fr|
|00003ec0| 6f 6d 20 74 68 65 20 6e | 61 6d 65 20 73 65 72 76 |om the n|ame serv|
|00003ed0| 65 72 0a 58 61 74 20 31 | 32 38 2e 33 32 2e 31 33 |er.Xat 1|28.32.13|
|00003ee0| 37 2e 38 2e 20 20 49 66 | 20 74 68 65 20 74 72 61 |7.8. If| the tra|
|00003ef0| 6e 73 66 65 72 20 66 61 | 69 6c 73 20 69 74 20 77 |nsfer fa|ils it w|
|00003f00| 69 6c 6c 20 74 72 79 20 | 31 32 38 2e 33 32 2e 31 |ill try |128.32.1|
|00003f10| 33 37 2e 33 20 61 6e 64 | 0a 58 63 6f 6e 74 69 6e |37.3 and|.Xcontin|
|00003f20| 75 65 20 74 72 79 69 6e | 67 20 74 68 65 20 61 64 |ue tryin|g the ad|
|00003f30| 64 72 65 73 73 65 73 2c | 20 75 70 20 74 6f 20 31 |dresses,| up to 1|
|00003f40| 30 2c 20 6c 69 73 74 65 | 64 20 6f 6e 20 74 68 69 |0, liste|d on thi|
|00003f50| 73 20 6c 69 6e 65 2e 0a | 58 54 68 65 20 73 65 63 |s line..|XThe sec|
|00003f60| 6f 6e 64 61 72 79 20 63 | 6f 70 79 20 69 73 20 61 |ondary c|opy is a|
|00003f70| 6c 73 6f 20 61 75 74 68 | 6f 72 69 74 61 74 69 76 |lso auth|oritativ|
|00003f80| 65 20 66 6f 72 20 74 68 | 65 20 73 70 65 63 69 66 |e for th|e specif|
|00003f90| 69 65 64 20 64 6f 6d 61 | 69 6e 2e 0a 58 54 68 65 |ied doma|in..XThe|
|00003fa0| 20 66 69 72 73 74 20 6e | 6f 6e 2d 64 6f 74 74 65 | first n|on-dotte|
|00003fb0| 64 2d 71 75 61 64 20 61 | 64 64 72 65 73 73 20 6f |d-quad a|ddress o|
|00003fc0| 6e 20 74 68 69 73 20 6c | 69 6e 65 20 77 69 6c 6c |n this l|ine will|
|00003fd0| 20 62 65 20 74 61 6b 65 | 6e 0a 58 61 73 20 61 20 | be take|n.Xas a |
|00003fe0| 66 69 6c 65 6e 61 6d 65 | 20 69 6e 20 77 68 69 63 |filename| in whic|
|00003ff0| 68 20 74 6f 20 62 61 63 | 6b 75 70 20 74 68 65 20 |h to bac|kup the |
|00004000| 74 72 61 6e 73 66 65 72 | 65 64 20 7a 6f 6e 65 2e |transfer|ed zone.|
|00004010| 0a 58 54 68 65 20 6e 61 | 6d 65 20 73 65 72 76 65 |.XThe na|me serve|
|00004020| 72 20 77 69 6c 6c 20 6c | 6f 61 64 20 74 68 65 20 |r will l|oad the |
|00004030| 7a 6f 6e 65 20 66 72 6f | 6d 20 74 68 69 73 20 62 |zone fro|m this b|
|00004040| 61 63 6b 75 70 20 66 69 | 6c 65 20 69 66 20 69 74 |ackup fi|le if it|
|00004050| 20 65 78 69 73 74 73 0a | 58 77 68 65 6e 20 69 74 | exists.|Xwhen it|
|00004060| 20 62 6f 6f 74 73 2c 20 | 70 72 6f 76 69 64 69 6e | boots, |providin|
|00004070| 67 20 61 20 63 6f 6d 70 | 6c 65 74 65 20 63 6f 70 |g a comp|lete cop|
|00004080| 79 20 65 76 65 6e 20 69 | 66 20 74 68 65 20 6d 61 |y even i|f the ma|
|00004090| 73 74 65 72 20 73 65 72 | 76 65 72 73 0a 58 61 72 |ster ser|vers.Xar|
|000040a0| 65 20 75 6e 72 65 61 63 | 68 61 62 6c 65 2e 0a 58 |e unreac|hable..X|
|000040b0| 57 68 65 6e 65 76 65 72 | 20 61 20 6e 65 77 20 63 |Whenever| a new c|
|000040c0| 6f 70 79 20 6f 66 20 74 | 68 65 20 64 6f 6d 61 69 |opy of t|he domai|
|000040d0| 6e 20 69 73 20 72 65 63 | 65 69 76 65 64 20 62 79 |n is rec|eived by|
|000040e0| 20 61 75 74 6f 6d 61 74 | 69 63 20 7a 6f 6e 65 20 | automat|ic zone |
|000040f0| 74 72 61 6e 73 66 65 72 | 0a 58 66 72 6f 6d 20 6f |transfer|.Xfrom o|
|00004100| 6e 65 20 6f 66 20 74 68 | 65 20 6d 61 73 74 65 72 |ne of th|e master|
|00004110| 20 73 65 72 76 65 72 73 | 2c 20 74 68 69 73 20 66 | servers|, this f|
|00004120| 69 6c 65 20 77 69 6c 6c | 20 62 65 20 75 70 64 61 |ile will| be upda|
|00004130| 74 65 64 2e 0a 58 54 68 | 65 20 73 65 63 6f 6e 64 |ted..XTh|e second|
|00004140| 20 60 60 73 65 63 6f 6e | 64 61 72 79 27 27 20 6c | ``secon|dary'' l|
|00004150| 69 6e 65 20 73 74 61 74 | 65 73 20 74 68 61 74 20 |ine stat|es that |
|00004160| 74 68 65 20 61 64 64 72 | 65 73 73 2d 74 6f 2d 68 |the addr|ess-to-h|
|00004170| 6f 73 74 6e 61 6d 65 0a | 58 6d 61 70 70 69 6e 67 |ostname.|Xmapping|
|00004180| 20 66 6f 72 20 74 68 65 | 20 73 75 62 6e 65 74 20 | for the| subnet |
|00004190| 31 32 38 2e 33 32 2e 31 | 33 36 20 73 68 6f 75 6c |128.32.1|36 shoul|
|000041a0| 64 20 62 65 20 6f 62 74 | 61 69 6e 65 64 20 66 72 |d be obt|ained fr|
|000041b0| 6f 6d 20 74 68 65 20 73 | 61 6d 65 20 6c 69 73 74 |om the s|ame list|
|000041c0| 0a 58 6f 66 20 6d 61 73 | 74 65 72 20 73 65 72 76 |.Xof mas|ter serv|
|000041d0| 65 72 73 20 61 73 20 74 | 68 65 20 70 72 65 76 69 |ers as t|he previ|
|000041e0| 6f 75 73 20 7a 6f 6e 65 | 2e 0a 58 2e 4c 50 0a 58 |ous zone|..X.LP.X|
|000041f0| 54 68 65 20 60 60 66 6f | 72 77 61 72 64 65 72 73 |The ``fo|rwarders|
|00004200| 27 27 20 6c 69 6e 65 20 | 73 70 65 63 69 66 69 65 |'' line |specifie|
|00004210| 73 20 74 68 65 20 61 64 | 64 72 65 73 73 65 73 20 |s the ad|dresses |
|00004220| 6f 66 20 73 69 74 65 77 | 69 64 65 20 73 65 72 76 |of sitew|ide serv|
|00004230| 65 72 73 0a 58 74 68 61 | 74 20 77 69 6c 6c 20 61 |ers.Xtha|t will a|
|00004240| 63 63 65 70 74 20 72 65 | 63 75 72 73 69 76 65 20 |ccept re|cursive |
|00004250| 71 75 65 72 69 65 73 20 | 66 72 6f 6d 20 6f 74 68 |queries |from oth|
|00004260| 65 72 20 73 65 72 76 65 | 72 73 2e 0a 58 49 66 20 |er serve|rs..XIf |
|00004270| 74 68 65 20 62 6f 6f 74 | 20 66 69 6c 65 20 73 70 |the boot| file sp|
|00004280| 65 63 69 66 69 65 73 20 | 6f 6e 65 20 6f 72 20 6d |ecifies |one or m|
|00004290| 6f 72 65 20 66 6f 72 77 | 61 72 64 65 72 73 2c 20 |ore forw|arders, |
|000042a0| 74 68 65 6e 20 74 68 65 | 0a 58 73 65 72 76 65 72 |then the|.Xserver|
|000042b0| 20 77 69 6c 6c 20 73 65 | 6e 64 20 61 6c 6c 20 71 | will se|nd all q|
|000042c0| 75 65 72 69 65 73 20 66 | 6f 72 20 64 61 74 61 20 |ueries f|or data |
|000042d0| 6e 6f 74 20 69 6e 20 74 | 68 65 20 63 61 63 68 65 |not in t|he cache|
|000042e0| 20 74 6f 20 74 68 65 20 | 66 6f 72 77 61 72 64 65 | to the |forwarde|
|000042f0| 72 73 20 66 69 72 73 74 | 2e 0a 58 45 61 63 68 20 |rs first|..XEach |
|00004300| 66 6f 72 77 61 72 64 65 | 72 20 77 69 6c 6c 20 62 |forwarde|r will b|
|00004310| 65 20 61 73 6b 65 64 20 | 69 6e 20 74 75 72 6e 20 |e asked |in turn |
|00004320| 75 6e 74 69 6c 20 61 6e | 20 61 6e 73 77 65 72 20 |until an| answer |
|00004330| 69 73 20 72 65 74 75 72 | 6e 65 64 0a 58 6f 72 20 |is retur|ned.Xor |
|00004340| 74 68 65 20 6c 69 73 74 | 20 69 73 20 65 78 68 61 |the list| is exha|
|00004350| 75 73 74 65 64 2e 20 20 | 49 66 20 6e 6f 20 61 6e |usted. |If no an|
|00004360| 73 77 65 72 20 69 73 20 | 66 6f 72 74 68 63 6f 6d |swer is |forthcom|
|00004370| 69 6e 67 20 66 72 6f 6d | 20 61 0a 58 66 6f 72 77 |ing from| a.Xforw|
|00004380| 61 72 64 65 72 2c 20 74 | 68 65 20 73 65 72 76 65 |arder, t|he serve|
|00004390| 72 20 77 69 6c 6c 20 63 | 6f 6e 74 69 6e 75 65 20 |r will c|ontinue |
|000043a0| 61 73 20 69 74 20 77 6f | 75 6c 64 20 68 61 76 65 |as it wo|uld have|
|000043b0| 20 77 69 74 68 6f 75 74 | 0a 58 74 68 65 20 66 6f | without|.Xthe fo|
|000043c0| 72 77 61 72 64 65 72 73 | 20 6c 69 6e 65 20 75 6e |rwarders| line un|
|000043d0| 6c 65 73 73 20 69 74 20 | 69 73 20 69 6e 20 60 60 |less it |is in ``|
|000043e0| 73 6c 61 76 65 27 27 20 | 6d 6f 64 65 2e 0a 58 54 |slave'' |mode..XT|
|000043f0| 68 65 20 66 6f 72 77 61 | 72 64 69 6e 67 20 66 61 |he forwa|rding fa|
|00004400| 63 69 6c 69 74 79 20 69 | 73 20 75 73 65 66 75 6c |cility i|s useful|
|00004410| 0a 58 74 6f 20 63 61 75 | 73 65 20 61 20 6c 61 72 |.Xto cau|se a lar|
|00004420| 67 65 20 73 69 74 65 77 | 69 64 65 20 63 61 63 68 |ge sitew|ide cach|
|00004430| 65 20 74 6f 20 62 65 20 | 67 65 6e 65 72 61 74 65 |e to be |generate|
|00004440| 64 20 6f 6e 20 61 20 6d | 61 73 74 65 72 2c 0a 58 |d on a m|aster,.X|
|00004450| 61 6e 64 20 74 6f 20 72 | 65 64 75 63 65 20 74 72 |and to r|educe tr|
|00004460| 61 66 66 69 63 20 6f 76 | 65 72 20 6c 69 6e 6b 73 |affic ov|er links|
|00004470| 20 74 6f 20 6f 75 74 73 | 69 64 65 20 73 65 72 76 | to outs|ide serv|
|00004480| 65 72 73 2e 0a 58 49 74 | 20 63 61 6e 20 61 6c 73 |ers..XIt| can als|
|00004490| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 61 6c 6c |o be use|d to all|
|000044a0| 6f 77 20 73 65 72 76 65 | 72 73 20 74 6f 20 72 75 |ow serve|rs to ru|
|000044b0| 6e 20 74 68 61 74 20 64 | 6f 20 6e 6f 74 20 68 61 |n that d|o not ha|
|000044c0| 76 65 0a 58 61 63 63 65 | 73 73 20 64 69 72 65 63 |ve.Xacce|ss direc|
|000044d0| 74 6c 79 20 74 6f 20 74 | 68 65 20 49 6e 74 65 72 |tly to t|he Inter|
|000044e0| 6e 65 74 2c 20 62 75 74 | 20 77 69 73 68 20 74 6f |net, but| wish to|
|000044f0| 20 61 63 74 20 61 73 20 | 74 68 6f 75 67 68 0a 58 | act as |though.X|
|00004500| 74 68 65 79 20 64 6f 2e | 0a 58 2e 4c 50 0a 58 54 |they do.|.X.LP.XT|
|00004510| 68 65 20 60 60 73 6c 61 | 76 65 27 27 20 6c 69 6e |he ``sla|ve'' lin|
|00004520| 65 20 28 73 68 6f 77 6e | 20 63 6f 6d 6d 65 6e 74 |e (shown| comment|
|00004530| 65 64 20 6f 75 74 29 20 | 69 73 20 75 73 65 64 20 |ed out) |is used |
|00004540| 74 6f 20 70 75 74 20 74 | 68 65 20 73 65 72 76 65 |to put t|he serve|
|00004550| 72 0a 58 69 6e 20 73 6c | 61 76 65 20 6d 6f 64 65 |r.Xin sl|ave mode|
|00004560| 2e 20 20 49 6e 20 74 68 | 69 73 20 6d 6f 64 65 2c |. In th|is mode,|
|00004570| 20 74 68 65 20 73 65 72 | 76 65 72 20 77 69 6c 6c | the ser|ver will|
|00004580| 20 6f 6e 6c 79 20 6d 61 | 6b 65 20 71 75 65 72 69 | only ma|ke queri|
|00004590| 65 73 20 74 6f 0a 58 66 | 6f 72 77 61 72 64 65 72 |es to.Xf|orwarder|
|000045a0| 73 2e 20 20 54 68 69 73 | 20 6f 70 74 69 6f 6e 20 |s. This| option |
|000045b0| 69 73 20 6e 6f 72 6d 61 | 6c 6c 79 20 75 73 65 64 |is norma|lly used|
|000045c0| 20 6f 6e 20 6d 61 63 68 | 69 6e 65 20 74 68 61 74 | on mach|ine that|
|000045d0| 20 77 69 73 68 20 74 6f | 0a 58 72 75 6e 20 61 20 | wish to|.Xrun a |
|000045e0| 73 65 72 76 65 72 20 62 | 75 74 20 66 6f 72 20 70 |server b|ut for p|
|000045f0| 68 79 73 69 63 61 6c 20 | 6f 72 20 61 64 6d 69 6e |hysical |or admin|
|00004600| 69 73 74 72 61 74 69 76 | 65 20 72 65 61 73 6f 6e |istrativ|e reason|
|00004610| 73 20 63 61 6e 6e 6f 74 | 0a 58 62 65 20 67 69 76 |s cannot|.Xbe giv|
|00004620| 65 6e 20 61 63 63 65 73 | 73 20 74 6f 20 74 68 65 |en acces|s to the|
|00004630| 20 49 6e 74 65 72 6e 65 | 74 2c 20 62 75 74 20 68 | Interne|t, but h|
|00004640| 61 76 65 20 61 63 63 65 | 73 73 20 74 6f 20 61 20 |ave acce|ss to a |
|00004650| 68 6f 73 74 20 74 68 61 | 74 0a 58 64 6f 65 73 20 |host tha|t.Xdoes |
|00004660| 68 61 76 65 20 61 63 63 | 65 73 73 2e 0a 58 2e 4c |have acc|ess..X.L|
|00004670| 50 0a 58 54 68 65 20 60 | 60 73 6f 72 74 6c 69 73 |P.XThe `|`sortlis|
|00004680| 74 27 27 20 6c 69 6e 65 | 20 63 61 6e 20 62 65 20 |t'' line| can be |
|00004690| 75 73 65 64 20 74 6f 20 | 69 6e 64 69 63 61 74 65 |used to |indicate|
|000046a0| 20 6e 65 74 77 6f 72 6b | 73 20 74 68 61 74 20 61 | network|s that a|
|000046b0| 72 65 20 74 6f 20 62 65 | 0a 58 70 72 65 66 65 72 |re to be|.Xprefer|
|000046c0| 72 65 64 20 6f 76 65 72 | 20 6f 74 68 65 72 2c 20 |red over| other, |
|000046d0| 75 6e 6c 69 73 74 65 64 | 20 6e 65 74 77 6f 72 6b |unlisted| network|
|000046e0| 73 2e 0a 58 51 75 65 72 | 69 65 73 20 66 6f 72 20 |s..XQuer|ies for |
|000046f0| 68 6f 73 74 20 61 64 64 | 72 65 73 73 65 73 20 66 |host add|resses f|
|00004700| 72 6f 6d 20 68 6f 73 74 | 73 20 6f 6e 20 74 68 65 |rom host|s on the|
|00004710| 20 73 61 6d 65 20 6e 65 | 74 77 6f 72 6b 20 61 73 | same ne|twork as|
|00004720| 20 74 68 65 20 73 65 72 | 76 65 72 0a 58 77 69 6c | the ser|ver.Xwil|
|00004730| 6c 20 72 65 63 65 69 76 | 65 20 72 65 73 70 6f 6e |l receiv|e respon|
|00004740| 73 65 73 20 77 69 74 68 | 20 6c 6f 63 61 6c 20 6e |ses with| local n|
|00004750| 65 74 77 6f 72 6b 20 61 | 64 64 72 65 73 73 65 73 |etwork a|ddresses|
|00004760| 20 6c 69 73 74 65 64 20 | 66 69 72 73 74 2c 0a 58 | listed |first,.X|
|00004770| 74 68 65 6e 20 61 64 64 | 72 65 73 73 65 73 20 6f |then add|resses o|
|00004780| 6e 20 74 68 65 20 73 6f | 72 74 20 6c 69 73 74 2c |n the so|rt list,|
|00004790| 20 74 68 65 6e 20 6f 74 | 68 65 72 20 61 64 64 72 | then ot|her addr|
|000047a0| 65 73 73 65 73 2e 0a 58 | 54 68 69 73 20 6c 69 6e |esses..X|This lin|
|000047b0| 65 20 69 73 20 6f 6e 6c | 79 20 61 63 74 65 64 20 |e is onl|y acted |
|000047c0| 6f 6e 20 61 74 20 69 6e | 69 74 69 61 6c 20 73 74 |on at in|itial st|
|000047d0| 61 72 74 75 70 2e 0a 58 | 57 68 65 6e 20 72 65 6c |artup..X|When rel|
|000047e0| 6f 61 64 69 6e 67 20 74 | 68 65 20 6e 61 6d 65 73 |oading t|he names|
|000047f0| 65 72 76 65 72 20 77 69 | 74 68 0a 58 61 20 53 49 |erver wi|th.Xa SI|
|00004800| 47 48 55 50 2c 20 74 68 | 69 73 20 6c 69 6e 65 20 |GHUP, th|is line |
|00004810| 77 69 6c 6c 20 62 65 20 | 69 67 6e 6f 72 65 64 2e |will be |ignored.|
|00004820| 0a 58 2e 50 50 0a 58 54 | 68 65 20 6d 61 73 74 65 |.X.PP.XT|he maste|
|00004830| 72 20 66 69 6c 65 20 63 | 6f 6e 73 69 73 74 73 20 |r file c|onsists |
|00004840| 6f 66 20 63 6f 6e 74 72 | 6f 6c 20 69 6e 66 6f 72 |of contr|ol infor|
|00004850| 6d 61 74 69 6f 6e 0a 58 | 61 6e 64 20 61 20 6c 69 |mation.X|and a li|
|00004860| 73 74 20 6f 66 20 72 65 | 73 6f 75 72 63 65 20 72 |st of re|source r|
|00004870| 65 63 6f 72 64 73 20 66 | 6f 72 20 6f 62 6a 65 63 |ecords f|or objec|
|00004880| 74 73 20 69 6e 20 74 68 | 65 20 7a 6f 6e 65 0a 58 |ts in th|e zone.X|
|00004890| 6f 66 20 74 68 65 20 66 | 6f 72 6d 73 3a 0a 58 2e |of the f|orms:.X.|
|000048a0| 52 53 0a 58 2e 6e 66 0a | 58 0a 58 24 49 4e 43 4c |RS.X.nf.|X.X$INCL|
|000048b0| 55 44 45 20 3c 66 69 6c | 65 6e 61 6d 65 3e 20 3c |UDE <fil|ename> <|
|000048c0| 6f 70 74 5f 64 6f 6d 61 | 69 6e 3e 0a 58 24 4f 52 |opt_doma|in>.X$OR|
|000048d0| 49 47 49 4e 20 3c 64 6f | 6d 61 69 6e 3e 0a 58 3c |IGIN <do|main>.X<|
|000048e0| 64 6f 6d 61 69 6e 3e 20 | 3c 6f 70 74 5f 74 74 6c |domain> |<opt_ttl|
|000048f0| 3e 20 3c 6f 70 74 5f 63 | 6c 61 73 73 3e 20 3c 74 |> <opt_c|lass> <t|
|00004900| 79 70 65 3e 20 3c 72 65 | 73 6f 75 72 63 65 5f 72 |ype> <re|source_r|
|00004910| 65 63 6f 72 64 5f 64 61 | 74 61 3e 0a 58 0a 58 2e |ecord_da|ta>.X.X.|
|00004920| 66 69 0a 58 2e 52 45 0a | 58 77 68 65 72 65 0a 58 |fi.X.RE.|Xwhere.X|
|00004930| 2e 49 20 64 6f 6d 61 69 | 6e 0a 58 69 73 20 22 2e |.I domai|n.Xis ".|
|00004940| 22 20 66 6f 72 20 72 6f | 6f 74 2c 20 22 40 22 20 |" for ro|ot, "@" |
|00004950| 66 6f 72 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |for the |current |
|00004960| 6f 72 69 67 69 6e 2c 20 | 6f 72 20 61 20 73 74 61 |origin, |or a sta|
|00004970| 6e 64 61 72 64 20 64 6f | 6d 61 69 6e 0a 58 6e 61 |ndard do|main.Xna|
|00004980| 6d 65 2e 20 49 66 0a 58 | 2e 49 20 64 6f 6d 61 69 |me. If.X|.I domai|
|00004990| 6e 0a 58 69 73 20 61 20 | 73 74 61 6e 64 61 72 64 |n.Xis a |standard|
|000049a0| 20 64 6f 6d 61 69 6e 20 | 6e 61 6d 65 20 74 68 61 | domain |name tha|
|000049b0| 74 20 64 6f 65 73 20 6e | 6f 74 20 65 6e 64 20 77 |t does n|ot end w|
|000049c0| 69 74 68 20 60 60 2e 27 | 27 2c 20 74 68 65 20 63 |ith ``.'|', the c|
|000049d0| 75 72 72 65 6e 74 20 6f | 72 69 67 69 6e 0a 58 69 |urrent o|rigin.Xi|
|000049e0| 73 20 61 70 70 65 6e 64 | 65 64 20 74 6f 20 74 68 |s append|ed to th|
|000049f0| 65 20 64 6f 6d 61 69 6e | 2e 20 44 6f 6d 61 69 6e |e domain|. Domain|
|00004a00| 20 6e 61 6d 65 73 20 65 | 6e 64 69 6e 67 20 77 69 | names e|nding wi|
|00004a10| 74 68 20 60 60 2e 27 27 | 20 61 72 65 0a 58 75 6e |th ``.''| are.Xun|
|00004a20| 6d 6f 64 69 66 69 65 64 | 2e 0a 58 54 68 65 0a 58 |modified|..XThe.X|
|00004a30| 2e 49 20 6f 70 74 5f 64 | 6f 6d 61 69 6e 0a 58 66 |.I opt_d|omain.Xf|
|00004a40| 69 65 6c 64 20 69 73 20 | 75 73 65 64 20 74 6f 20 |ield is |used to |
|00004a50| 64 65 66 69 6e 65 20 61 | 6e 20 6f 72 69 67 69 6e |define a|n origin|
|00004a60| 20 66 6f 72 20 74 68 65 | 20 64 61 74 61 20 69 6e | for the| data in|
|00004a70| 20 61 6e 20 69 6e 63 6c | 75 64 65 64 20 66 69 6c | an incl|uded fil|
|00004a80| 65 2e 0a 58 49 74 20 69 | 73 20 65 71 75 69 76 61 |e..XIt i|s equiva|
|00004a90| 6c 65 6e 74 20 74 6f 20 | 70 6c 61 63 69 6e 67 20 |lent to |placing |
|00004aa0| 61 20 24 4f 52 49 47 49 | 4e 20 73 74 61 74 65 6d |a $ORIGI|N statem|
|00004ab0| 65 6e 74 20 62 65 66 6f | 72 65 20 74 68 65 20 66 |ent befo|re the f|
|00004ac0| 69 72 73 74 0a 58 6c 69 | 6e 65 20 6f 66 20 74 68 |irst.Xli|ne of th|
|00004ad0| 65 20 69 6e 63 6c 75 64 | 65 64 20 66 69 6c 65 2e |e includ|ed file.|
|00004ae0| 20 20 54 68 65 20 66 69 | 65 6c 64 20 69 73 20 6f | The fi|eld is o|
|00004af0| 70 74 69 6f 6e 61 6c 2e | 0a 58 4e 65 69 74 68 65 |ptional.|.XNeithe|
|00004b00| 72 20 74 68 65 0a 58 2e | 49 20 6f 70 74 5f 64 6f |r the.X.|I opt_do|
|00004b10| 6d 61 69 6e 0a 58 66 69 | 65 6c 64 20 6e 6f 72 20 |main.Xfi|eld nor |
|00004b20| 24 4f 52 49 47 49 4e 20 | 73 74 61 74 65 6d 65 6e |$ORIGIN |statemen|
|00004b30| 74 73 20 69 6e 20 74 68 | 65 20 69 6e 63 6c 75 64 |ts in th|e includ|
|00004b40| 65 64 20 66 69 6c 65 20 | 6d 6f 64 69 66 79 20 74 |ed file |modify t|
|00004b50| 68 65 20 63 75 72 72 65 | 6e 74 20 6f 72 69 67 69 |he curre|nt origi|
|00004b60| 6e 0a 58 66 6f 72 20 74 | 68 69 73 20 66 69 6c 65 |n.Xfor t|his file|
|00004b70| 2e 0a 58 54 68 65 0a 58 | 2e 49 20 6f 70 74 5f 74 |..XThe.X|.I opt_t|
|00004b80| 74 6c 0a 58 66 69 65 6c | 64 20 69 73 20 61 6e 20 |tl.Xfiel|d is an |
|00004b90| 6f 70 74 69 6f 6e 61 6c | 20 69 6e 74 65 67 65 72 |optional| integer|
|00004ba0| 20 6e 75 6d 62 65 72 20 | 66 6f 72 20 74 68 65 20 | number |for the |
|00004bb0| 74 69 6d 65 2d 74 6f 2d | 6c 69 76 65 20 66 69 65 |time-to-|live fie|
|00004bc0| 6c 64 2e 0a 58 49 74 20 | 64 65 66 61 75 6c 74 73 |ld..XIt |defaults|
|00004bd0| 20 74 6f 20 7a 65 72 6f | 2c 20 6d 65 61 6e 69 6e | to zero|, meanin|
|00004be0| 67 20 74 68 65 20 6d 69 | 6e 69 6d 75 6d 20 76 61 |g the mi|nimum va|
|00004bf0| 6c 75 65 20 73 70 65 63 | 69 66 69 65 64 20 69 6e |lue spec|ified in|
|00004c00| 20 74 68 65 20 53 4f 41 | 0a 58 72 65 63 6f 72 64 | the SOA|.Xrecord|
|00004c10| 20 66 6f 72 20 74 68 65 | 20 7a 6f 6e 65 2e 0a 58 | for the| zone..X|
|00004c20| 54 68 65 0a 58 2e 49 20 | 6f 70 74 5f 63 6c 61 73 |The.X.I |opt_clas|
|00004c30| 73 0a 58 66 69 65 6c 64 | 20 69 73 20 74 68 65 20 |s.Xfield| is the |
|00004c40| 6f 62 6a 65 63 74 20 61 | 64 64 72 65 73 73 20 74 |object a|ddress t|
|00004c50| 79 70 65 3b 20 63 75 72 | 72 65 6e 74 6c 79 20 6f |ype; cur|rently o|
|00004c60| 6e 6c 79 20 6f 6e 65 20 | 74 79 70 65 20 69 73 20 |nly one |type is |
|00004c70| 73 75 70 70 6f 72 74 65 | 64 2c 0a 58 2e 42 52 20 |supporte|d,.X.BR |
|00004c80| 49 4e 20 2c 0a 58 66 6f | 72 20 6f 62 6a 65 63 74 |IN ,.Xfo|r object|
|00004c90| 73 20 63 6f 6e 6e 65 63 | 74 65 64 20 74 6f 20 74 |s connec|ted to t|
|00004ca0| 68 65 20 44 41 52 50 41 | 20 49 6e 74 65 72 6e 65 |he DARPA| Interne|
|00004cb0| 74 2e 20 0a 58 54 68 65 | 0a 58 2e 49 20 74 79 70 |t. .XThe|.X.I typ|
|00004cc0| 65 0a 58 66 69 65 6c 64 | 20 63 6f 6e 74 61 69 6e |e.Xfield| contain|
|00004cd0| 73 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |s one of| the fol|
|00004ce0| 6c 6f 77 69 6e 67 20 74 | 6f 6b 65 6e 73 3b 20 74 |lowing t|okens; t|
|00004cf0| 68 65 20 64 61 74 61 20 | 65 78 70 65 63 74 65 64 |he data |expected|
|00004d00| 20 69 6e 20 74 68 65 0a | 58 2e 49 20 72 65 73 6f | in the.|X.I reso|
|00004d10| 75 72 63 65 5f 72 65 63 | 6f 72 64 5f 64 61 74 61 |urce_rec|ord_data|
|00004d20| 0a 58 66 69 65 6c 64 20 | 69 73 20 69 6e 20 70 61 |.Xfield |is in pa|
|00004d30| 72 65 6e 74 68 65 73 65 | 73 2e 0a 58 2e 54 50 20 |renthese|s..X.TP |
|00004d40| 22 5c 77 27 4d 49 4e 46 | 4f 20 20 20 20 27 75 22 |"\w'MINF|O 'u"|
|00004d50| 0a 58 41 0a 58 61 20 68 | 6f 73 74 20 61 64 64 72 |.XA.Xa h|ost addr|
|00004d60| 65 73 73 20 28 64 6f 74 | 74 65 64 20 71 75 61 64 |ess (dot|ted quad|
|00004d70| 29 0a 58 2e 49 50 20 4e | 53 0a 58 61 6e 20 61 75 |).X.IP N|S.Xan au|
|00004d80| 74 68 6f 72 69 74 61 74 | 69 76 65 20 6e 61 6d 65 |thoritat|ive name|
|00004d90| 20 73 65 72 76 65 72 20 | 28 64 6f 6d 61 69 6e 29 | server |(domain)|
|00004da0| 0a 58 2e 49 50 20 4d 58 | 0a 58 61 20 6d 61 69 6c |.X.IP MX|.Xa mail|
|00004db0| 20 65 78 63 68 61 6e 67 | 65 72 20 28 64 6f 6d 61 | exchang|er (doma|
|00004dc0| 69 6e 29 0a 58 2e 49 50 | 20 43 4e 41 4d 45 0a 58 |in).X.IP| CNAME.X|
|00004dd0| 74 68 65 20 63 61 6e 6f | 6e 69 63 61 6c 20 6e 61 |the cano|nical na|
|00004de0| 6d 65 20 66 6f 72 20 61 | 6e 20 61 6c 69 61 73 20 |me for a|n alias |
|00004df0| 28 64 6f 6d 61 69 6e 29 | 0a 58 2e 49 50 20 53 4f |(domain)|.X.IP SO|
|00004e00| 41 0a 58 6d 61 72 6b 73 | 20 74 68 65 20 73 74 61 |A.Xmarks| the sta|
|00004e10| 72 74 20 6f 66 20 61 20 | 7a 6f 6e 65 20 6f 66 20 |rt of a |zone of |
|00004e20| 61 75 74 68 6f 72 69 74 | 79 20 28 64 6f 6d 61 69 |authorit|y (domai|
|00004e30| 6e 20 6f 66 20 6f 72 69 | 67 69 6e 61 74 69 6e 67 |n of ori|ginating|
|00004e40| 20 68 6f 73 74 2c 0a 58 | 64 6f 6d 61 69 6e 20 61 | host,.X|domain a|
|00004e50| 64 64 72 65 73 73 20 6f | 66 20 6d 61 69 6e 74 61 |ddress o|f mainta|
|00004e60| 69 6e 65 72 2c 20 61 20 | 73 65 72 69 61 6c 20 6e |iner, a |serial n|
|00004e70| 75 6d 62 65 72 20 61 6e | 64 20 74 68 65 20 66 6f |umber an|d the fo|
|00004e80| 6c 6c 6f 77 69 6e 67 0a | 58 70 61 72 61 6d 65 74 |llowing.|Xparamet|
|00004e90| 65 72 73 20 69 6e 20 73 | 65 63 6f 6e 64 73 3a 20 |ers in s|econds: |
|00004ea0| 72 65 66 72 65 73 68 2c | 20 72 65 74 72 79 2c 20 |refresh,| retry, |
|00004eb0| 65 78 70 69 72 65 20 61 | 6e 64 20 6d 69 6e 69 6d |expire a|nd minim|
|00004ec0| 75 6d 20 54 54 4c 20 28 | 73 65 65 20 52 46 43 38 |um TTL (|see RFC8|
|00004ed0| 38 33 29 29 0a 58 2e 49 | 50 20 4d 42 0a 58 61 20 |83)).X.I|P MB.Xa |
|00004ee0| 6d 61 69 6c 62 6f 78 20 | 64 6f 6d 61 69 6e 20 6e |mailbox |domain n|
|00004ef0| 61 6d 65 20 28 64 6f 6d | 61 69 6e 29 0a 58 2e 49 |ame (dom|ain).X.I|
|00004f00| 50 20 4d 47 0a 58 61 20 | 6d 61 69 6c 20 67 72 6f |P MG.Xa |mail gro|
|00004f10| 75 70 20 6d 65 6d 62 65 | 72 20 28 64 6f 6d 61 69 |up membe|r (domai|
|00004f20| 6e 29 0a 58 2e 49 50 20 | 4d 52 0a 58 61 20 6d 61 |n).X.IP |MR.Xa ma|
|00004f30| 69 6c 20 72 65 6e 61 6d | 65 20 64 6f 6d 61 69 6e |il renam|e domain|
|00004f40| 20 6e 61 6d 65 20 28 64 | 6f 6d 61 69 6e 29 0a 58 | name (d|omain).X|
|00004f50| 2e 49 50 20 4e 55 4c 4c | 0a 58 61 20 6e 75 6c 6c |.IP NULL|.Xa null|
|00004f60| 20 72 65 73 6f 75 72 63 | 65 20 72 65 63 6f 72 64 | resourc|e record|
|00004f70| 20 28 6e 6f 20 66 6f 72 | 6d 61 74 20 6f 72 20 64 | (no for|mat or d|
|00004f80| 61 74 61 29 0a 58 2e 49 | 50 20 57 4b 53 0a 58 61 |ata).X.I|P WKS.Xa|
|00004f90| 20 77 65 6c 6c 20 6b 6e | 6f 77 20 73 65 72 76 69 | well kn|ow servi|
|00004fa0| 63 65 20 64 65 73 63 72 | 69 70 74 69 6f 6e 20 28 |ce descr|iption (|
|00004fb0| 6e 6f 74 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |not impl|emented |
|00004fc0| 79 65 74 29 0a 58 2e 49 | 50 20 50 54 52 0a 58 61 |yet).X.I|P PTR.Xa|
|00004fd0| 20 64 6f 6d 61 69 6e 20 | 6e 61 6d 65 20 70 6f 69 | domain |name poi|
|00004fe0| 6e 74 65 72 20 28 64 6f | 6d 61 69 6e 29 0a 58 2e |nter (do|main).X.|
|00004ff0| 49 50 20 48 49 4e 46 4f | 0a 58 68 6f 73 74 20 69 |IP HINFO|.Xhost i|
|00005000| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 28 63 70 75 5f |nformati|on (cpu_|
|00005010| 74 79 70 65 20 4f 53 5f | 74 79 70 65 29 0a 58 2e |type OS_|type).X.|
|00005020| 49 50 20 4d 49 4e 46 4f | 0a 58 6d 61 69 6c 62 6f |IP MINFO|.Xmailbo|
|00005030| 78 20 6f 72 20 6d 61 69 | 6c 20 6c 69 73 74 20 69 |x or mai|l list i|
|00005040| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 28 72 65 71 75 |nformati|on (requ|
|00005050| 65 73 74 5f 64 6f 6d 61 | 69 6e 20 65 72 72 6f 72 |est_doma|in error|
|00005060| 5f 64 6f 6d 61 69 6e 29 | 0a 58 2e 50 50 0a 58 52 |_domain)|.X.PP.XR|
|00005070| 65 73 6f 75 72 63 65 20 | 72 65 63 6f 72 64 73 20 |esource |records |
|00005080| 6e 6f 72 6d 61 6c 6c 79 | 20 65 6e 64 20 61 74 20 |normally| end at |
|00005090| 74 68 65 20 65 6e 64 20 | 6f 66 20 61 20 6c 69 6e |the end |of a lin|
|000050a0| 65 2c 0a 58 62 75 74 20 | 6d 61 79 20 62 65 20 63 |e,.Xbut |may be c|
|000050b0| 6f 6e 74 69 6e 75 65 64 | 20 61 63 72 6f 73 73 20 |ontinued| across |
|000050c0| 6c 69 6e 65 73 20 62 65 | 74 77 65 65 6e 20 6f 70 |lines be|tween op|
|000050d0| 65 6e 69 6e 67 20 61 6e | 64 20 63 6c 6f 73 69 6e |ening an|d closin|
|000050e0| 67 20 70 61 72 65 6e 74 | 68 65 73 65 73 2e 0a 58 |g parent|heses..X|
|000050f0| 43 6f 6d 6d 65 6e 74 73 | 20 61 72 65 20 69 6e 74 |Comments| are int|
|00005100| 72 6f 64 75 63 65 64 20 | 62 79 20 73 65 6d 69 63 |roduced |by semic|
|00005110| 6f 6c 6f 6e 73 20 61 6e | 64 20 63 6f 6e 74 69 6e |olons an|d contin|
|00005120| 75 65 20 74 6f 20 74 68 | 65 20 65 6e 64 20 6f 66 |ue to th|e end of|
|00005130| 20 74 68 65 20 6c 69 6e | 65 2e 0a 58 2e 50 50 0a | the lin|e..X.PP.|
|00005140| 58 45 61 63 68 20 6d 61 | 73 74 65 72 20 7a 6f 6e |XEach ma|ster zon|
|00005150| 65 20 66 69 6c 65 20 73 | 68 6f 75 6c 64 20 62 65 |e file s|hould be|
|00005160| 67 69 6e 20 77 69 74 68 | 20 61 6e 20 53 4f 41 20 |gin with| an SOA |
|00005170| 72 65 63 6f 72 64 20 66 | 6f 72 20 74 68 65 20 7a |record f|or the z|
|00005180| 6f 6e 65 2e 0a 58 41 6e | 20 65 78 61 6d 70 6c 65 |one..XAn| example|
|00005190| 20 53 4f 41 20 72 65 63 | 6f 72 64 20 69 73 20 61 | SOA rec|ord is a|
|000051a0| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0a 58 2e 4c 50 0a |s follow|s:.X.LP.|
|000051b0| 58 2e 6e 66 0a 58 40 09 | 49 4e 09 53 4f 41 09 75 |X.nf.X@.|IN.SOA.u|
|000051c0| 63 62 76 61 78 2e 42 65 | 72 6b 65 6c 65 79 2e 45 |cbvax.Be|rkeley.E|
|000051d0| 44 55 2e 20 72 77 68 2e | 75 63 62 76 61 78 2e 42 |DU. rwh.|ucbvax.B|
|000051e0| 65 72 6b 65 6c 65 79 2e | 45 44 55 2e 20 28 0a 58 |erkeley.|EDU. (.X|
|000051f0| 09 09 09 09 32 2e 38 39 | 09 3b 20 73 65 72 69 61 |....2.89|.; seria|
|00005200| 6c 0a 58 09 09 09 09 31 | 30 38 30 30 09 3b 20 72 |l.X....1|0800.; r|
|00005210| 65 66 72 65 73 68 0a 58 | 09 09 09 09 33 36 30 30 |efresh.X|....3600|
|00005220| 09 3b 20 72 65 74 72 79 | 0a 58 09 09 09 09 33 36 |.; retry|.X....36|
|00005230| 30 30 30 30 30 09 3b 20 | 65 78 70 69 72 65 0a 58 |00000.; |expire.X|
|00005240| 09 09 09 09 38 36 34 30 | 30 20 29 09 3b 20 6d 69 |....8640|0 ).; mi|
|00005250| 6e 69 6d 75 6d 0a 58 2e | 66 69 0a 58 2e 4c 50 0a |nimum.X.|fi.X.LP.|
|00005260| 58 54 68 65 20 53 4f 41 | 20 6c 69 73 74 73 20 61 |XThe SOA| lists a|
|00005270| 20 73 65 72 69 61 6c 20 | 6e 75 6d 62 65 72 2c 20 | serial |number, |
|00005280| 77 68 69 63 68 20 73 68 | 6f 75 6c 64 20 62 65 20 |which sh|ould be |
|00005290| 63 68 61 6e 67 65 64 20 | 65 61 63 68 20 74 69 6d |changed |each tim|
|000052a0| 65 20 74 68 65 20 6d 61 | 73 74 65 72 0a 58 66 69 |e the ma|ster.Xfi|
|000052b0| 6c 65 20 69 73 20 63 68 | 61 6e 67 65 64 2e 0a 58 |le is ch|anged..X|
|000052c0| 53 65 63 6f 6e 64 61 72 | 79 20 73 65 72 76 65 72 |Secondar|y server|
|000052d0| 73 20 63 68 65 63 6b 20 | 74 68 65 20 73 65 72 69 |s check |the seri|
|000052e0| 61 6c 20 6e 75 6d 62 65 | 72 20 61 74 20 69 6e 74 |al numbe|r at int|
|000052f0| 65 72 76 61 6c 73 20 73 | 70 65 63 69 66 69 65 64 |ervals s|pecified|
|00005300| 20 62 79 20 74 68 65 20 | 72 65 66 72 65 73 68 0a | by the |refresh.|
|00005310| 58 74 69 6d 65 20 69 6e | 20 73 65 63 6f 6e 64 73 |Xtime in| seconds|
|00005320| 3b 20 69 66 20 74 68 65 | 20 73 65 72 69 61 6c 20 |; if the| serial |
|00005330| 6e 75 6d 62 65 72 20 63 | 68 61 6e 67 65 73 2c 20 |number c|hanges, |
|00005340| 61 20 7a 6f 6e 65 20 74 | 72 61 6e 73 66 65 72 20 |a zone t|ransfer |
|00005350| 77 69 6c 6c 20 62 65 20 | 64 6f 6e 65 0a 58 74 6f |will be |done.Xto|
|00005360| 20 6c 6f 61 64 20 74 68 | 65 20 6e 65 77 20 64 61 | load th|e new da|
|00005370| 74 61 2e 0a 58 49 66 20 | 61 20 6d 61 73 74 65 72 |ta..XIf |a master|
|00005380| 20 73 65 72 76 65 72 20 | 63 61 6e 6e 6f 74 20 62 | server |cannot b|
|00005390| 65 20 63 6f 6e 74 61 63 | 74 65 64 20 77 68 65 6e |e contac|ted when|
|000053a0| 20 61 20 72 65 66 72 65 | 73 68 20 69 73 20 64 75 | a refre|sh is du|
|000053b0| 65 2c 20 74 68 65 20 72 | 65 74 72 79 20 74 69 6d |e, the r|etry tim|
|000053c0| 65 0a 58 73 70 65 63 69 | 66 69 65 73 20 74 68 65 |e.Xspeci|fies the|
|000053d0| 20 69 6e 74 65 72 76 61 | 6c 20 61 74 20 77 68 69 | interva|l at whi|
|000053e0| 63 68 20 72 65 66 72 65 | 73 68 65 73 20 73 68 6f |ch refre|shes sho|
|000053f0| 75 6c 64 20 62 65 20 61 | 74 74 65 6d 70 74 65 64 |uld be a|ttempted|
|00005400| 20 75 6e 74 69 6c 20 73 | 75 63 63 65 73 73 66 75 | until s|uccessfu|
|00005410| 6c 2e 0a 58 49 66 20 61 | 20 6d 61 73 74 65 72 20 |l..XIf a| master |
|00005420| 73 65 72 76 65 72 20 63 | 61 6e 6e 6f 74 20 62 65 |server c|annot be|
|00005430| 20 63 6f 6e 74 61 63 74 | 65 64 20 77 69 74 68 69 | contact|ed withi|
|00005440| 6e 20 74 68 65 20 69 6e | 74 65 72 76 61 6c 20 67 |n the in|terval g|
|00005450| 69 76 65 6e 20 62 79 20 | 74 68 65 0a 58 65 78 70 |iven by |the.Xexp|
|00005460| 69 72 65 20 74 69 6d 65 | 2c 20 61 6c 6c 20 64 61 |ire time|, all da|
|00005470| 74 61 20 66 72 6f 6d 20 | 74 68 65 20 7a 6f 6e 65 |ta from |the zone|
|00005480| 20 69 73 20 64 69 73 63 | 61 72 64 65 64 20 62 79 | is disc|arded by|
|00005490| 20 73 65 63 6f 6e 64 61 | 72 79 20 73 65 72 76 65 | seconda|ry serve|
|000054a0| 72 73 2e 0a 58 54 68 65 | 20 6d 69 6e 69 6d 75 6d |rs..XThe| minimum|
|000054b0| 20 76 61 6c 75 65 20 69 | 73 20 74 68 65 20 74 69 | value i|s the ti|
|000054c0| 6d 65 2d 74 6f 2d 6c 69 | 76 65 20 75 73 65 64 20 |me-to-li|ve used |
|000054d0| 62 79 20 72 65 63 6f 72 | 64 73 20 69 6e 20 74 68 |by recor|ds in th|
|000054e0| 65 20 66 69 6c 65 0a 58 | 77 69 74 68 20 6e 6f 20 |e file.X|with no |
|000054f0| 65 78 70 6c 69 63 69 74 | 20 74 69 6d 65 2d 74 6f |explicit| time-to|
|00005500| 2d 6c 69 76 65 20 76 61 | 6c 75 65 2e 0a 58 2e 53 |-live va|lue..X.S|
|00005510| 48 20 4e 4f 54 45 53 0a | 58 54 68 65 20 62 6f 6f |H NOTES.|XThe boo|
|00005520| 74 20 66 69 6c 65 20 64 | 69 72 65 63 74 69 76 65 |t file d|irective|
|00005530| 73 20 60 60 64 6f 6d 61 | 69 6e 27 27 20 61 6e 64 |s ``doma|in'' and|
|00005540| 20 60 60 73 75 66 66 69 | 78 65 73 27 27 20 68 61 | ``suffi|xes'' ha|
|00005550| 76 65 20 62 65 65 6e 0a | 58 6f 62 73 6f 6c 65 74 |ve been.|Xobsolet|
|00005560| 65 64 20 62 79 20 61 20 | 6d 6f 72 65 20 75 73 65 |ed by a |more use|
|00005570| 66 75 6c 20 72 65 73 6f | 6c 76 65 72 20 62 61 73 |ful reso|lver bas|
|00005580| 65 64 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |ed imple|mentatio|
|00005590| 6e 20 6f 66 0a 58 73 75 | 66 66 69 78 69 6e 67 20 |n of.Xsu|ffixing |
|000055a0| 66 6f 72 20 70 61 72 74 | 69 61 6c 6c 79 20 71 75 |for part|ially qu|
|000055b0| 61 6c 69 66 69 65 64 20 | 64 6f 6d 61 69 6e 20 6e |alified |domain n|
|000055c0| 61 6d 65 73 2e 20 20 54 | 68 65 20 70 72 69 6f 72 |ames. T|he prior|
|000055d0| 20 6d 65 63 68 61 6e 69 | 73 6d 73 0a 58 63 6f 75 | mechani|sms.Xcou|
|000055e0| 6c 64 20 66 61 69 6c 20 | 75 6e 64 65 72 20 61 20 |ld fail |under a |
|000055f0| 6e 75 6d 62 65 72 20 6f | 66 20 73 69 74 75 61 74 |number o|f situat|
|00005600| 69 6f 6e 73 2c 20 65 73 | 70 65 63 69 61 6c 6c 79 |ions, es|pecially|
|00005610| 20 77 68 65 6e 20 74 68 | 65 6e 20 6c 6f 63 61 6c | when th|en local|
|00005620| 0a 58 6e 61 6d 65 73 65 | 72 76 65 72 20 64 69 64 |.Xnamese|rver did|
|00005630| 20 6e 6f 74 20 68 61 76 | 65 20 63 6f 6d 70 6c 65 | not hav|e comple|
|00005640| 74 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 0a |te infor|mation..|
|00005650| 58 2e 73 70 0a 58 54 68 | 65 20 66 6f 6c 6c 6f 77 |X.sp.XTh|e follow|
|00005660| 69 6e 67 20 73 69 67 6e | 61 6c 73 20 68 61 76 65 |ing sign|als have|
|00005670| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 65 | the spe|cified e|
|00005680| 66 66 65 63 74 20 77 68 | 65 6e 20 73 65 6e 74 20 |ffect wh|en sent |
|00005690| 74 6f 20 74 68 65 0a 58 | 73 65 72 76 65 72 20 70 |to the.X|server p|
|000056a0| 72 6f 63 65 73 73 20 75 | 73 69 6e 67 20 74 68 65 |rocess u|sing the|
|000056b0| 0a 58 2e 49 52 20 6b 69 | 6c 6c 20 28 31 29 0a 58 |.X.IR ki|ll (1).X|
|000056c0| 63 6f 6d 6d 61 6e 64 2e | 0a 58 2e 49 50 20 53 49 |command.|.X.IP SI|
|000056d0| 47 48 55 50 0a 58 43 61 | 75 73 65 73 20 73 65 72 |GHUP.XCa|uses ser|
|000056e0| 76 65 72 20 74 6f 20 72 | 65 61 64 20 6e 61 6d 65 |ver to r|ead name|
|000056f0| 64 2e 62 6f 6f 74 20 61 | 6e 64 20 72 65 6c 6f 61 |d.boot a|nd reloa|
|00005700| 64 20 64 61 74 61 62 61 | 73 65 2e 0a 58 2e 49 50 |d databa|se..X.IP|
|00005710| 20 53 49 47 49 4e 54 0a | 58 44 75 6d 70 73 20 63 | SIGINT.|XDumps c|
|00005720| 75 72 72 65 6e 74 20 64 | 61 74 61 20 62 61 73 65 |urrent d|ata base|
|00005730| 20 61 6e 64 20 63 61 63 | 68 65 20 74 6f 20 2f 75 | and cac|he to /u|
|00005740| 73 72 2f 74 6d 70 2f 6e | 61 6d 65 64 5f 64 75 6d |sr/tmp/n|amed_dum|
|00005750| 70 2e 64 62 0a 58 2e 5c | 22 2e 49 50 20 53 49 47 |p.db.X.\|".IP SIG|
|00005760| 51 55 49 54 0a 58 2e 5c | 22 43 61 75 73 65 73 20 |QUIT.X.\|"Causes |
|00005770| 74 68 65 20 73 65 72 76 | 65 72 20 74 6f 20 63 68 |the serv|er to ch|
|00005780| 65 63 6b 70 6f 69 6e 74 | 20 74 68 65 20 63 61 63 |eckpoint| the cac|
|00005790| 68 65 20 69 6e 74 6f 20 | 74 68 65 20 66 69 72 73 |he into |the firs|
|000057a0| 74 20 60 60 63 61 63 68 | 65 27 27 20 66 69 6c 65 |t ``cach|e'' file|
|000057b0| 2e 0a 58 2e 49 50 20 53 | 49 47 49 4f 54 0a 58 44 |..X.IP S|IGIOT.XD|
|000057c0| 75 6d 70 73 20 73 74 61 | 74 69 73 74 69 63 73 20 |umps sta|tistics |
|000057d0| 64 61 74 61 20 69 6e 74 | 6f 20 2f 75 73 72 2f 74 |data int|o /usr/t|
|000057e0| 6d 70 2f 6e 61 6d 65 64 | 2e 73 74 61 74 73 20 69 |mp/named|.stats i|
|000057f0| 66 20 74 68 65 20 73 65 | 72 76 65 72 20 69 73 0a |f the se|rver is.|
|00005800| 58 63 6f 6d 70 69 6c 65 | 64 20 2d 44 53 54 41 54 |Xcompile|d -DSTAT|
|00005810| 53 2e 20 20 53 74 61 74 | 69 73 74 69 63 73 20 64 |S. Stat|istics d|
|00005820| 61 74 61 20 69 73 20 61 | 70 70 65 6e 64 65 64 20 |ata is a|ppended |
|00005830| 74 6f 20 74 68 65 20 66 | 69 6c 65 2e 0a 58 2e 49 |to the f|ile..X.I|
|00005840| 50 20 53 49 47 53 59 53 | 0a 58 44 75 6d 70 73 20 |P SIGSYS|.XDumps |
|00005850| 74 68 65 20 70 72 6f 66 | 69 6c 69 6e 67 20 64 61 |the prof|iling da|
|00005860| 74 61 20 69 6e 20 2f 75 | 73 72 2f 74 6d 70 20 69 |ta in /u|sr/tmp i|
|00005870| 66 20 74 68 65 20 73 65 | 72 76 65 72 20 69 73 20 |f the se|rver is |
|00005880| 63 6f 6d 70 69 6c 65 64 | 0a 58 77 69 74 68 20 70 |compiled|.Xwith p|
|00005890| 72 6f 66 69 6c 69 6e 67 | 20 28 73 65 72 76 65 72 |rofiling| (server|
|000058a0| 20 66 6f 72 6b 73 2c 20 | 63 68 64 69 72 73 20 61 | forks, |chdirs a|
|000058b0| 6e 64 20 65 78 69 74 73 | 29 2e 0a 58 2e 49 50 20 |nd exits|)..X.IP |
|000058c0| 53 49 47 54 45 52 4d 0a | 58 44 75 6d 70 73 20 74 |SIGTERM.|XDumps t|
|000058d0| 68 65 20 70 72 69 6d 61 | 72 79 20 61 6e 64 20 73 |he prima|ry and s|
|000058e0| 65 63 6f 6e 64 61 72 79 | 20 64 61 74 61 62 61 73 |econdary| databas|
|000058f0| 65 20 66 69 6c 65 73 2e | 0a 58 55 73 65 64 20 74 |e files.|.XUsed t|
|00005900| 6f 20 73 61 76 65 20 6d | 6f 64 69 66 69 65 64 20 |o save m|odified |
|00005910| 64 61 74 61 20 6f 6e 20 | 73 68 75 74 64 6f 77 6e |data on |shutdown|
|00005920| 20 69 66 20 74 68 65 0a | 58 73 65 72 76 65 72 20 | if the.|Xserver |
|00005930| 69 73 20 63 6f 6d 70 69 | 6c 65 64 20 77 69 74 68 |is compi|led with|
|00005940| 20 64 79 6e 61 6d 69 63 | 20 75 70 64 61 74 69 6e | dynamic| updatin|
|00005950| 67 20 65 6e 61 62 6c 65 | 64 2e 0a 58 2e 49 50 20 |g enable|d..X.IP |
|00005960| 53 49 47 55 53 52 31 0a | 58 54 75 72 6e 73 20 6f |SIGUSR1.|XTurns o|
|00005970| 6e 20 64 65 62 75 67 67 | 69 6e 67 3b 20 65 61 63 |n debugg|ing; eac|
|00005980| 68 20 53 49 47 55 53 52 | 31 20 69 6e 63 72 65 6d |h SIGUSR|1 increm|
|00005990| 65 6e 74 73 20 64 65 62 | 75 67 20 6c 65 76 65 6c |ents deb|ug level|
|000059a0| 2e 0a 58 28 53 49 47 45 | 4d 54 20 6f 6e 20 6f 6c |..X(SIGE|MT on ol|
|000059b0| 64 65 72 20 73 79 73 74 | 65 6d 73 20 77 69 74 68 |der syst|ems with|
|000059c0| 6f 75 74 20 53 49 47 55 | 53 52 31 29 0a 58 2e 49 |out SIGU|SR1).X.I|
|000059d0| 50 20 53 49 47 55 53 52 | 32 0a 58 54 75 72 6e 73 |P SIGUSR|2.XTurns|
|000059e0| 20 6f 66 66 20 64 65 62 | 75 67 67 69 6e 67 20 63 | off deb|ugging c|
|000059f0| 6f 6d 70 6c 65 74 65 6c | 79 2e 0a 58 28 53 49 47 |ompletel|y..X(SIG|
|00005a00| 46 50 45 20 6f 6e 20 6f | 6c 64 65 72 20 73 79 73 |FPE on o|lder sys|
|00005a10| 74 65 6d 73 20 77 69 74 | 68 6f 75 74 20 53 49 47 |tems wit|hout SIG|
|00005a20| 55 53 52 32 29 0a 58 2e | 53 48 20 46 49 4c 45 53 |USR2).X.|SH FILES|
|00005a30| 0a 58 2e 6e 66 0a 58 2e | 74 61 20 5c 77 27 2f 75 |.X.nf.X.|ta \w'/u|
|00005a40| 73 72 2f 74 6d 70 2f 6e | 61 6d 65 64 5f 64 75 6d |sr/tmp/n|amed_dum|
|00005a50| 70 2e 64 62 20 20 20 27 | 75 0a 58 2f 65 74 63 2f |p.db '|u.X/etc/|
|00005a60| 6e 61 6d 65 64 2e 62 6f | 6f 74 09 6e 61 6d 65 20 |named.bo|ot.name |
|00005a70| 73 65 72 76 65 72 20 63 | 6f 6e 66 69 67 75 72 61 |server c|onfigura|
|00005a80| 74 69 6f 6e 20 62 6f 6f | 74 20 66 69 6c 65 0a 58 |tion boo|t file.X|
|00005a90| 2f 65 74 63 2f 6e 61 6d | 65 64 2e 70 69 64 09 74 |/etc/nam|ed.pid.t|
|00005aa0| 68 65 20 70 72 6f 63 65 | 73 73 20 69 64 0a 58 2f |he proce|ss id.X/|
|00005ab0| 75 73 72 2f 74 6d 70 2f | 6e 61 6d 65 64 2e 72 75 |usr/tmp/|named.ru|
|00005ac0| 6e 09 64 65 62 75 67 20 | 6f 75 74 70 75 74 0a 58 |n.debug |output.X|
|00005ad0| 2f 75 73 72 2f 74 6d 70 | 2f 6e 61 6d 65 64 5f 64 |/usr/tmp|/named_d|
|00005ae0| 75 6d 70 2e 64 62 09 64 | 75 6d 70 20 6f 66 20 74 |ump.db.d|ump of t|
|00005af0| 68 65 20 6e 61 6d 65 20 | 73 65 72 76 65 72 20 64 |he name |server d|
|00005b00| 61 74 61 62 61 73 65 0a | 58 2f 75 73 72 2f 74 6d |atabase.|X/usr/tm|
|00005b10| 70 2f 6e 61 6d 65 64 2e | 73 74 61 74 73 09 6e 61 |p/named.|stats.na|
|00005b20| 6d 65 73 65 72 76 65 72 | 20 73 74 61 74 69 73 74 |meserver| statist|
|00005b30| 69 63 73 20 64 61 74 61 | 0a 58 2e 66 69 0a 58 2e |ics data|.X.fi.X.|
|00005b40| 53 48 20 22 53 45 45 20 | 41 4c 53 4f 22 0a 58 6b |SH "SEE |ALSO".Xk|
|00005b50| 69 6c 6c 28 31 29 2c 20 | 67 65 74 68 6f 73 74 62 |ill(1), |gethostb|
|00005b60| 79 6e 61 6d 65 28 33 4e | 29 2c 20 73 69 67 6e 61 |yname(3N|), signa|
|00005b70| 6c 28 33 63 29 2c 20 72 | 65 73 6f 6c 76 65 72 28 |l(3c), r|esolver(|
|00005b80| 33 29 2c 20 72 65 73 6f | 6c 76 65 72 28 35 29 2c |3), reso|lver(5),|
|00005b90| 20 68 6f 73 74 6e 61 6d | 65 28 37 29 2c 0a 58 52 | hostnam|e(7),.XR|
|00005ba0| 46 43 38 38 32 2c 20 52 | 46 43 38 38 33 2c 20 52 |FC882, R|FC883, R|
|00005bb0| 46 43 39 37 33 2c 20 52 | 46 43 39 37 34 2c 0a 58 |FC973, R|FC974,.X|
|00005bc0| 5c 66 49 4e 61 6d 65 20 | 53 65 72 76 65 72 20 4f |\fIName |Server O|
|00005bd0| 70 65 72 61 74 69 6f 6e | 73 20 47 75 69 64 65 20 |peration|s Guide |
|00005be0| 66 6f 72 20 42 49 4e 44 | 5c 66 52 0a 45 4e 44 2d |for BIND|\fR.END-|
|00005bf0| 6f 66 2d 6d 61 6e 2f 6e | 61 6d 65 64 2e 38 0a 65 |of-man/n|amed.8.e|
|00005c00| 63 68 6f 20 78 20 2d 20 | 6d 61 6e 2f 68 6f 73 74 |cho x - |man/host|
|00005c10| 6e 61 6d 65 2e 37 0a 73 | 65 64 20 27 73 2f 5e 58 |name.7.s|ed 's/^X|
|00005c20| 2f 2f 27 20 3e 6d 61 6e | 2f 68 6f 73 74 6e 61 6d |//' >man|/hostnam|
|00005c30| 65 2e 37 20 3c 3c 20 27 | 45 4e 44 2d 6f 66 2d 6d |e.7 << '|END-of-m|
|00005c40| 61 6e 2f 68 6f 73 74 6e | 61 6d 65 2e 37 27 0a 58 |an/hostn|ame.7'.X|
|00005c50| 2e 5c 22 20 43 6f 70 79 | 72 69 67 68 74 20 28 63 |.\" Copy|right (c|
|00005c60| 29 20 31 39 38 37 20 54 | 68 65 20 52 65 67 65 6e |) 1987 T|he Regen|
|00005c70| 74 73 20 6f 66 20 74 68 | 65 20 55 6e 69 76 65 72 |ts of th|e Univer|
|00005c80| 73 69 74 79 20 6f 66 20 | 43 61 6c 69 66 6f 72 6e |sity of |Californ|
|00005c90| 69 61 2e 0a 58 2e 5c 22 | 20 41 6c 6c 20 72 69 67 |ia..X.\"| All rig|
|00005ca0| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 0a 58 2e |hts rese|rved..X.|
|00005cb0| 5c 22 0a 58 2e 5c 22 20 | 52 65 64 69 73 74 72 69 |\".X.\" |Redistri|
|00005cc0| 62 75 74 69 6f 6e 20 61 | 6e 64 20 75 73 65 20 69 |bution a|nd use i|
|00005cd0| 6e 20 73 6f 75 72 63 65 | 20 61 6e 64 20 62 69 6e |n source| and bin|
|00005ce0| 61 72 79 20 66 6f 72 6d | 73 20 61 72 65 20 70 65 |ary form|s are pe|
|00005cf0| 72 6d 69 74 74 65 64 0a | 58 2e 5c 22 20 70 72 6f |rmitted.|X.\" pro|
|00005d00| 76 69 64 65 64 20 74 68 | 61 74 20 74 68 65 20 61 |vided th|at the a|
|00005d10| 62 6f 76 65 20 63 6f 70 | 79 72 69 67 68 74 20 6e |bove cop|yright n|
|00005d20| 6f 74 69 63 65 20 61 6e | 64 20 74 68 69 73 20 70 |otice an|d this p|
|00005d30| 61 72 61 67 72 61 70 68 | 20 61 72 65 0a 58 2e 5c |aragraph| are.X.\|
|00005d40| 22 20 64 75 70 6c 69 63 | 61 74 65 64 20 69 6e 20 |" duplic|ated in |
|00005d50| 61 6c 6c 20 73 75 63 68 | 20 66 6f 72 6d 73 20 61 |all such| forms a|
|00005d60| 6e 64 20 74 68 61 74 20 | 61 6e 79 20 64 6f 63 75 |nd that |any docu|
|00005d70| 6d 65 6e 74 61 74 69 6f | 6e 2c 0a 58 2e 5c 22 20 |mentatio|n,.X.\" |
|00005d80| 61 64 76 65 72 74 69 73 | 69 6e 67 20 6d 61 74 65 |advertis|ing mate|
|00005d90| 72 69 61 6c 73 2c 20 61 | 6e 64 20 6f 74 68 65 72 |rials, a|nd other|
|00005da0| 20 6d 61 74 65 72 69 61 | 6c 73 20 72 65 6c 61 74 | materia|ls relat|
|00005db0| 65 64 20 74 6f 20 73 75 | 63 68 0a 58 2e 5c 22 20 |ed to su|ch.X.\" |
|00005dc0| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 61 6e 64 |distribu|tion and|
|00005dd0| 20 75 73 65 20 61 63 6b | 6e 6f 77 6c 65 64 67 65 | use ack|nowledge|
|00005de0| 20 74 68 61 74 20 74 68 | 65 20 73 6f 66 74 77 61 | that th|e softwa|
|00005df0| 72 65 20 77 61 73 20 64 | 65 76 65 6c 6f 70 65 64 |re was d|eveloped|
|00005e00| 0a 58 2e 5c 22 20 62 79 | 20 74 68 65 20 55 6e 69 |.X.\" by| the Uni|
|00005e10| 76 65 72 73 69 74 79 20 | 6f 66 20 43 61 6c 69 66 |versity |of Calif|
|00005e20| 6f 72 6e 69 61 2c 20 42 | 65 72 6b 65 6c 65 79 2e |ornia, B|erkeley.|
|00005e30| 20 20 54 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 | The na|me of th|
|00005e40| 65 0a 58 2e 5c 22 20 55 | 6e 69 76 65 72 73 69 74 |e.X.\" U|niversit|
|00005e50| 79 20 6d 61 79 20 6e 6f | 74 20 62 65 20 75 73 65 |y may no|t be use|
|00005e60| 64 20 74 6f 20 65 6e 64 | 6f 72 73 65 20 6f 72 20 |d to end|orse or |
|00005e70| 70 72 6f 6d 6f 74 65 20 | 70 72 6f 64 75 63 74 73 |promote |products|
|00005e80| 20 64 65 72 69 76 65 64 | 0a 58 2e 5c 22 20 66 72 | derived|.X.\" fr|
|00005e90| 6f 6d 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |om this |software|
|00005ea0| 20 77 69 74 68 6f 75 74 | 20 73 70 65 63 69 66 69 | without| specifi|
|00005eb0| 63 20 70 72 69 6f 72 20 | 77 72 69 74 74 65 6e 20 |c prior |written |
|00005ec0| 70 65 72 6d 69 73 73 69 | 6f 6e 2e 0a 58 2e 5c 22 |permissi|on..X.\"|
|00005ed0| 20 54 48 49 53 20 53 4f | 46 54 57 41 52 45 20 49 | THIS SO|FTWARE I|
|00005ee0| 53 20 50 52 4f 56 49 44 | 45 44 20 60 60 41 53 20 |S PROVID|ED ``AS |
|00005ef0| 49 53 27 27 20 41 4e 44 | 20 57 49 54 48 4f 55 54 |IS'' AND| WITHOUT|
|00005f00| 20 41 4e 59 20 45 58 50 | 52 45 53 53 20 4f 52 0a | ANY EXP|RESS OR.|
|00005f10| 58 2e 5c 22 20 49 4d 50 | 4c 49 45 44 20 57 41 52 |X.\" IMP|LIED WAR|
|00005f20| 52 41 4e 54 49 45 53 2c | 20 49 4e 43 4c 55 44 49 |RANTIES,| INCLUDI|
|00005f30| 4e 47 2c 20 57 49 54 48 | 4f 55 54 20 4c 49 4d 49 |NG, WITH|OUT LIMI|
|00005f40| 54 41 54 49 4f 4e 2c 20 | 54 48 45 20 49 4d 50 4c |TATION, |THE IMPL|
|00005f50| 49 45 44 0a 58 2e 5c 22 | 20 57 41 52 52 41 4e 54 |IED.X.\"| WARRANT|
|00005f60| 49 45 53 20 4f 46 20 4d | 45 52 43 48 41 4e 54 41 |IES OF M|ERCHANTA|
|00005f70| 42 49 4c 49 54 59 20 41 | 4e 44 20 46 49 54 4e 45 |BILITY A|ND FITNE|
|00005f80| 53 53 20 46 4f 52 20 41 | 20 50 41 52 54 49 43 55 |SS FOR A| PARTICU|
|00005f90| 4c 41 52 20 50 55 52 50 | 4f 53 45 2e 0a 58 2e 5c |LAR PURP|OSE..X.\|
|00005fa0| 22 0a 58 2e 5c 22 09 40 | 28 23 29 68 6f 73 74 6e |".X.\".@|(#)hostn|
|00005fb0| 61 6d 65 2e 37 09 36 2e | 33 20 28 42 65 72 6b 65 |ame.7.6.|3 (Berke|
|00005fc0| 6c 65 79 29 20 31 32 2f | 31 34 2f 38 39 0a 58 2e |ley) 12/|14/89.X.|
|00005fd0| 5c 22 0a 58 2e 54 48 20 | 48 4f 53 54 4e 41 4d 45 |\".X.TH |HOSTNAME|
|00005fe0| 20 37 20 22 44 65 63 65 | 6d 62 65 72 20 31 34 2c | 7 "Dece|mber 14,|
|00005ff0| 20 31 39 38 39 22 0a 58 | 2e 55 43 20 35 0a 58 2e | 1989".X|.UC 5.X.|
|00006000| 53 48 20 4e 41 4d 45 0a | 58 68 6f 73 74 6e 61 6d |SH NAME.|Xhostnam|
|00006010| 65 20 5c 2d 20 68 6f 73 | 74 20 6e 61 6d 65 20 72 |e \- hos|t name r|
|00006020| 65 73 6f 6c 75 74 69 6f | 6e 20 64 65 73 63 72 69 |esolutio|n descri|
|00006030| 70 74 69 6f 6e 0a 58 2e | 53 48 20 44 45 53 43 52 |ption.X.|SH DESCR|
|00006040| 49 50 54 49 4f 4e 0a 58 | 48 6f 73 74 6e 61 6d 65 |IPTION.X|Hostname|
|00006050| 73 20 61 72 65 20 64 6f | 6d 61 69 6e 73 2c 20 77 |s are do|mains, w|
|00006060| 68 65 72 65 20 61 20 64 | 6f 6d 61 69 6e 20 69 73 |here a d|omain is|
|00006070| 20 61 20 68 69 65 72 61 | 72 63 68 69 63 61 6c 2c | a hiera|rchical,|
|00006080| 20 64 6f 74 2d 73 65 70 | 61 72 61 74 65 64 0a 58 | dot-sep|arated.X|
|00006090| 6c 69 73 74 20 6f 66 20 | 73 75 62 64 6f 6d 61 69 |list of |subdomai|
|000060a0| 6e 73 3b 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |ns; for |example,|
|000060b0| 20 74 68 65 20 6d 61 63 | 68 69 6e 65 20 6d 6f 6e | the mac|hine mon|
|000060c0| 65 74 2c 20 69 6e 20 74 | 68 65 20 42 65 72 6b 65 |et, in t|he Berke|
|000060d0| 6c 65 79 0a 58 73 75 62 | 64 6f 6d 61 69 6e 20 6f |ley.Xsub|domain o|
|000060e0| 66 20 74 68 65 20 45 44 | 55 20 73 75 62 64 6f 6d |f the ED|U subdom|
|000060f0| 61 69 6e 20 6f 66 20 74 | 68 65 20 49 6e 74 65 72 |ain of t|he Inter|
|00006100| 6e 65 74 20 77 6f 75 6c | 64 20 62 65 20 72 65 70 |net woul|d be rep|
|00006110| 72 65 73 65 6e 74 65 64 | 20 61 73 0a 58 2e 62 72 |resented| as.X.br|
|00006120| 0a 58 09 09 6d 6f 6e 65 | 74 2e 42 65 72 6b 65 6c |.X..mone|t.Berkel|
|00006130| 65 79 2e 45 44 55 0a 58 | 2e 62 72 0a 58 28 77 69 |ey.EDU.X|.br.X(wi|
|00006140| 74 68 20 6e 6f 20 74 72 | 61 69 6c 69 6e 67 20 64 |th no tr|ailing d|
|00006150| 6f 74 29 2e 0a 58 2e 50 | 50 0a 58 48 6f 73 74 6e |ot)..X.P|P.XHostn|
|00006160| 61 6d 65 73 20 61 72 65 | 20 6f 66 74 65 6e 20 75 |ames are| often u|
|00006170| 73 65 64 20 77 69 74 68 | 20 6e 65 74 77 6f 72 6b |sed with| network|
|00006180| 20 63 6c 69 65 6e 74 20 | 61 6e 64 20 73 65 72 76 | client |and serv|
|00006190| 65 72 20 70 72 6f 67 72 | 61 6d 73 2c 0a 58 77 68 |er progr|ams,.Xwh|
|000061a0| 69 63 68 20 6d 75 73 74 | 20 67 65 6e 65 72 61 6c |ich must| general|
|000061b0| 6c 79 20 74 72 61 6e 73 | 6c 61 74 65 20 74 68 65 |ly trans|late the|
|000061c0| 20 6e 61 6d 65 20 74 6f | 20 61 6e 20 61 64 64 72 | name to| an addr|
|000061d0| 65 73 73 20 66 6f 72 20 | 75 73 65 2e 0a 58 28 54 |ess for |use..X(T|
|000061e0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 69 73 20 |his func|tion is |
|000061f0| 67 65 6e 65 72 61 6c 6c | 79 20 70 65 72 66 6f 72 |generall|y perfor|
|00006200| 6d 65 64 20 62 79 20 74 | 68 65 20 6c 69 62 72 61 |med by t|he libra|
|00006210| 72 79 20 72 6f 75 74 69 | 6e 65 0a 58 2e 49 52 20 |ry routi|ne.X.IR |
|00006220| 67 65 74 68 6f 73 74 62 | 79 6e 61 6d 65 20 28 33 |gethostb|yname (3|
|00006230| 29 2e 29 0a 58 48 6f 73 | 74 6e 61 6d 65 73 20 61 |).).XHos|tnames a|
|00006240| 72 65 20 72 65 73 6f 6c | 76 65 64 20 62 79 20 74 |re resol|ved by t|
|00006250| 68 65 20 69 6e 74 65 72 | 6e 65 74 20 6e 61 6d 65 |he inter|net name|
|00006260| 20 72 65 73 6f 6c 76 65 | 72 20 69 6e 20 74 68 65 | resolve|r in the|
|00006270| 20 66 6f 6c 6c 6f 77 69 | 6e 67 0a 58 66 61 73 68 | followi|ng.Xfash|
|00006280| 69 6f 6e 2e 0a 58 2e 50 | 50 0a 58 49 66 20 74 68 |ion..X.P|P.XIf th|
|00006290| 65 20 6e 61 6d 65 20 63 | 6f 6e 73 69 73 74 73 20 |e name c|onsists |
|000062a0| 6f 66 20 61 20 73 69 6e | 67 6c 65 20 63 6f 6d 70 |of a sin|gle comp|
|000062b0| 6f 6e 65 6e 74 2c 20 69 | 2e 65 2e 20 63 6f 6e 74 |onent, i|.e. cont|
|000062c0| 61 69 6e 73 20 6e 6f 20 | 64 6f 74 2c 0a 58 61 6e |ains no |dot,.Xan|
|000062d0| 64 20 69 66 20 74 68 65 | 20 65 6e 76 69 72 6f 6e |d if the| environ|
|000062e0| 6d 65 6e 74 20 76 61 72 | 69 61 62 6c 65 20 60 60 |ment var|iable ``|
|000062f0| 48 4f 53 54 41 4c 49 41 | 53 45 53 27 27 20 69 73 |HOSTALIA|SES'' is|
|00006300| 20 73 65 74 20 74 6f 20 | 74 68 65 20 6e 61 6d 65 | set to |the name|
|00006310| 20 6f 66 20 61 20 66 69 | 6c 65 2c 0a 58 74 68 61 | of a fi|le,.Xtha|
|00006320| 74 20 66 69 6c 65 20 69 | 73 20 73 65 61 72 63 68 |t file i|s search|
|00006330| 65 64 20 66 6f 72 20 61 | 6e 20 73 74 72 69 6e 67 |ed for a|n string|
|00006340| 20 6d 61 74 63 68 69 6e | 67 20 74 68 65 20 69 6e | matchin|g the in|
|00006350| 70 75 74 20 68 6f 73 74 | 6e 61 6d 65 2e 0a 58 54 |put host|name..XT|
|00006360| 68 65 20 66 69 6c 65 20 | 73 68 6f 75 6c 64 20 63 |he file |should c|
|00006370| 6f 6e 73 69 73 74 20 6f | 66 20 6c 69 6e 65 73 20 |onsist o|f lines |
|00006380| 6d 61 64 65 20 75 70 20 | 6f 66 20 74 77 6f 20 77 |made up |of two w|
|00006390| 68 69 74 65 2d 73 70 61 | 63 65 20 73 65 70 61 72 |hite-spa|ce separ|
|000063a0| 61 74 65 64 20 73 74 72 | 69 6e 67 73 2c 0a 58 74 |ated str|ings,.Xt|
|000063b0| 68 65 20 66 69 72 73 74 | 20 6f 66 20 77 68 69 63 |he first| of whic|
|000063c0| 68 20 69 73 20 74 68 65 | 20 68 6f 73 74 6e 61 6d |h is the| hostnam|
|000063d0| 65 20 61 6c 69 61 73 2c | 0a 58 61 6e 64 20 74 68 |e alias,|.Xand th|
|000063e0| 65 20 73 65 63 6f 6e 64 | 20 6f 66 20 77 68 69 63 |e second| of whic|
|000063f0| 68 20 69 73 20 74 68 65 | 20 63 6f 6d 70 6c 65 74 |h is the| complet|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.